diff options
Diffstat (limited to 'src/stty.c')
-rw-r--r-- | src/stty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stty.c b/src/stty.c index b9daf0a12..1e0a59a3e 100644 --- a/src/stty.c +++ b/src/stty.c @@ -30,8 +30,8 @@ #include <stdio.h> #include <sys/types.h> #include <termios.h> -#ifdef _AIX -#include <sys/ioctl.h> /* Needed to get window size. */ +#ifdef GWINSZ_IN_SYS_IOCTL +#include <sys/ioctl.h> #endif #ifdef WINSIZE_IN_PTEM #include <sys/stream.h> |