From: Bruno Haible Date: Fri, 21 Oct 2011 00:12:02 +0000 (+0200) Subject: openpty: Avoid compilation error on AIX 6.1. X-Git-Tag: v0.1~1548 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=2bc94c03c8199cd0ddab7e3e04d1a9d598dc4eff;p=gnulib.git openpty: Avoid compilation error on AIX 6.1. * lib/pty.in.h [AIX]: Include , for 'struct winsize'. --- diff --git a/ChangeLog b/ChangeLog index cbb2f2fbb7..0f0b5a39fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-10-20 Bruno Haible + + openpty: Avoid compilation error on AIX 6.1. + * lib/pty.in.h [AIX]: Include , for 'struct winsize'. + 2011-10-20 Bruno Haible posix_openpt: Support for OpenBSD. diff --git a/lib/pty.in.h b/lib/pty.in.h index bba4ba1a63..aff989c79d 100644 --- a/lib/pty.in.h +++ b/lib/pty.in.h @@ -42,6 +42,9 @@ /* Get 'struct termios' and 'struct winsize'. */ #include +#if defined _AIX +# include +#endif /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */