summaryrefslogtreecommitdiff
path: root/m4/getcwd.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/getcwd.m4
parent16b35530835c07693104567de6d2a03f7bee2b33 (diff)
downloadcoreutils-2f79e30906e2d729a48b295521cba4ed5d6067dc.tar.xz
Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
Diffstat (limited to 'm4/getcwd.m4')
-rw-r--r--m4/getcwd.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/getcwd.m4 b/m4/getcwd.m4
index 2e8547511..93b3091b6 100644
--- a/m4/getcwd.m4
+++ b/m4/getcwd.m4
@@ -17,9 +17,7 @@ AC_DEFUN([gl_FUNC_GETCWD_NULL],
[AC_TRY_RUN(
[
# include <stdlib.h>
-# ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# endif
+# include <unistd.h>
# ifndef getcwd
char *getcwd ();
# endif