diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-01 10:21:01 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-01 10:21:01 +0100 |
commit | 3afda48cd4dbb6c5ca6de443cdba0f918443181c (patch) | |
tree | 594516d99638da638cf605dc2150ee1b95407a08 | |
parent | 6908aa3e7e389cc23cbe12ca9bbaa22deee71835 (diff) | |
download | idutils-3afda48cd4dbb6c5ca6de443cdba0f918443181c.tar.gz idutils-3afda48cd4dbb6c5ca6de443cdba0f918443181c.tar.bz2 idutils-3afda48cd4dbb6c5ca6de443cdba0f918443181c.zip |
maint: avoid new syntax-check failure due to #if HAVE_SYS_TYPES_H
* libidu/idfile.h: Include <sys/types.h> unconditionally.
I.e., drop the now-redundant #if HAVE_SYS_TYPES_H guard.
gnulib guarantees the presence of that header.
-rw-r--r-- | libidu/idfile.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libidu/idfile.h b/libidu/idfile.h index b77c85a..fe531db 100644 --- a/libidu/idfile.h +++ b/libidu/idfile.h @@ -21,9 +21,7 @@ #define _idfile_h_ 1 #include <config.h> -#if HAVE_SYS_TYPES_H -# include <sys/types.h> -#endif +#include <sys/types.h> #include <stdio.h> #include <string.h> #include "obstack.h" |