summaryrefslogtreecommitdiff
path: root/lib/cmpbuf.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-30 18:56:03 +0200
committerJim Meyering <meyering@redhat.com>2010-04-30 18:56:14 +0200
commit7ea9bf381b354cbf5e05ab89e0ee2009162bc09a (patch)
tree267c48aa636eace88e67e27f0aa7093d5cd40a97 /lib/cmpbuf.c
parent59669066e7771fa01912e4c2081ad80aa78d3f68 (diff)
downloaddiffutils-7ea9bf381b354cbf5e05ab89e0ee2009162bc09a.tar.gz
maint: remove now-useless #if HAVE_HEADER_H guards
* src/system.h: Include <sys/wait.h> unconditionally, now that gnulib guarantees its presence. * lib/cmpbuf.c: Likewise for <unistd.h> and <inttypes.h>.
Diffstat (limited to 'lib/cmpbuf.c')
-rw-r--r--lib/cmpbuf.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/cmpbuf.c b/lib/cmpbuf.c
index 02cccf3..7413210 100644
--- a/lib/cmpbuf.c
+++ b/lib/cmpbuf.c
@@ -30,14 +30,8 @@
# endif
#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-
+#include <unistd.h>
+#include <inttypes.h>
#include <sys/types.h>
#include "cmpbuf.h"
#include "intprops.h"