summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systty.h b/src/systty.h
index bb24a7aedb2..2171a960465 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -30,8 +30,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <fcntl.h>
#else
#ifdef HAVE_TERMIOS
+#if defined(_AIX) && defined(_I386)
+#include <termios.h> /* termios.h needs to be before termio.h */
+#include <termio.h>
+#else
#include <termio.h>
#include <termios.h>
+#endif /* _AIX && _I386 */
#include <fcntl.h>
#else /* neither HAVE_TERMIO nor HAVE_TERMIOS */
#ifndef VMS