diff options
author | Jim Meyering <jim@meyering.net> | 1995-10-18 22:05:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-10-18 22:05:06 +0000 |
commit | 6181f175e3916e9e8e81c3fd8f8f9573a66ffec4 (patch) | |
tree | 777fc5153c138029b67f46c6ff1e6f1565837071 | |
parent | 5a52e612714dea0439daeb19262ff77abbe1f9ca (diff) | |
download | coreutils-6181f175e3916e9e8e81c3fd8f8f9573a66ffec4.tar.xz |
Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.
-rw-r--r-- | src/ls.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -38,13 +38,16 @@ #include <config.h> #include <sys/types.h> -#if !defined(_POSIX_SOURCE) || defined(_AIX) -#include <sys/ioctl.h> + +#if HAVE_SYS_IOCTL_H +# include <sys/ioctl.h> #endif + #include <stdio.h> #include <grp.h> #include <pwd.h> #include <getopt.h> + #if HAVE_LIMITS_H /* limits.h must come before system.h because limits.h on some systems undefs PATH_MAX, whereas system.h includes pathmax.h which sets |