summaryrefslogtreecommitdiff
path: root/m4/check-decl.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 08:54:13 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 08:54:13 +0000
commit2f79e30906e2d729a48b295521cba4ed5d6067dc (patch)
treed7ae7075ab1f0d1d25612639e8ad6e7dde8e895c /m4/check-decl.m4
parent16b35530835c07693104567de6d2a03f7bee2b33 (diff)
downloadcoreutils-2f79e30906e2d729a48b295521cba4ed5d6067dc.tar.xz
Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
Diffstat (limited to 'm4/check-decl.m4')
-rw-r--r--m4/check-decl.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index d70e1c90f..66c581055 100644
--- a/m4/check-decl.m4
+++ b/m4/check-decl.m4
@@ -1,4 +1,4 @@
-#serial 20
+#serial 21
dnl This is just a wrapper function to encapsulate this kludge.
dnl Putting it in a separate file like this helps share it between
@@ -12,9 +12,7 @@ AC_DEFUN([gl_CHECK_DECLS],
#include <string.h>
#include <stdlib.h>
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include <sys/types.h>
#if TIME_WITH_SYS_TIME