]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove sys/types.h include order check
authorPádraig Brady <P@draigBrady.com>
Mon, 18 May 2015 11:25:22 +0000 (12:25 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 26 May 2015 01:16:48 +0000 (02:16 +0100)
* src/system.h: This was inadvertently ineffective due to
a typo in commit v8.9-10-ge1aaf89 (Jan 2011), but has
not caused any issues, so remove.

src/system.h

index 8a9b47907d4cc5e51b5984fe9f723ec2ad9b3aec..8f6a2ea8402bb34db357606aee511e5b33590dd8 100644 (file)
 
 #include <alloca.h>
 
-/* Include <sys/types.h> before this file.
-   Note this doesn't warn if we're included
-   before all system headers.  */
-
-#if 2 < __GLIBC__ || ( 2 == ___GLIBC__ && 2 <= __GLIBC_MINOR__ )
-# if ! defined _SYS_TYPES_H
-you must include <sys/types.h> before including this file
-# endif
-#endif
-
 #include <sys/stat.h>
 
 /* Commonly used file permission combination.  */