summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-01 10:21:01 +0100
committerJim Meyering <meyering@redhat.com>2012-01-01 10:21:01 +0100
commit3afda48cd4dbb6c5ca6de443cdba0f918443181c (patch)
tree594516d99638da638cf605dc2150ee1b95407a08
parent6908aa3e7e389cc23cbe12ca9bbaa22deee71835 (diff)
downloadidutils-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.h4
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"