From: Jim Meyering Date: Wed, 18 Oct 1995 22:05:06 +0000 (+0000) Subject: Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX. X-Git-Tag: v4.5.1~12302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6181f175e3916e9e8e81c3fd8f8f9573a66ffec4;p=thirdparty%2Fcoreutils.git Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX. --- diff --git a/src/ls.c b/src/ls.c index 429e68b110..31b9ac973e 100644 --- a/src/ls.c +++ b/src/ls.c @@ -38,13 +38,16 @@ #include #include -#if !defined(_POSIX_SOURCE) || defined(_AIX) -#include + +#if HAVE_SYS_IOCTL_H +# include #endif + #include #include #include #include + #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