From 2bc94c03c8199cd0ddab7e3e04d1a9d598dc4eff Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 21 Oct 2011 02:12:02 +0200 Subject: [PATCH] openpty: Avoid compilation error on AIX 6.1. * lib/pty.in.h [AIX]: Include , for 'struct winsize'. --- ChangeLog | 5 +++++ lib/pty.in.h | 3 +++ 2 files changed, 8 insertions(+) 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. */ -- 2.39.5