X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffile-type.h;h=c766d6c21a21e9f8dbd01f810532daf31e3bcbfa;hb=265465e1145409720be48d30b6277a59151d293a;hp=765ec89cbd8ed170da6d6a07a0c54c738ea16454;hpb=c17e9791ab8f42a5fc95a910712f5f14c9a39c1b;p=gnulib.git diff --git a/lib/file-type.h b/lib/file-type.h index 765ec89cb..c766d6c21 100644 --- a/lib/file-type.h +++ b/lib/file-type.h @@ -18,16 +18,11 @@ /* Written by Paul Eggert and Jim Meyering. */ -/* Include and before including this - file. */ - #ifndef FILE_TYPE_H # define FILE_TYPE_H 1 -# if 2 <= __GLIBC__ && 2 <= __GLIBC_MINOR__ -# if !defined _SYS_STAT_H || !defined _SYS_TYPES_H -you must include and before including this file -# endif +# if ! defined S_ISREG && ! defined S_IFREG +you must include before including this file # endif char const *file_type (struct stat const *);