diff options
author | Jim Meyering <jim@meyering.net> | 2005-07-02 08:41:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-07-02 08:41:46 +0000 |
commit | 410f98fc2b9bd775f809818590959272c04e6c9c (patch) | |
tree | feb6e26fa2cd60d76f8bcab1483f27bc792f2c29 /lib/getcwd.c | |
parent | b5dabfee20afd9a18d32c569b69ce9024e0a6268 (diff) | |
download | coreutils-410f98fc2b9bd775f809818590959272c04e6c9c.tar.xz |
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
Diffstat (limited to 'lib/getcwd.c')
-rw-r--r-- | lib/getcwd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/getcwd.c b/lib/getcwd.c index 86070ead8..be10e4f1b 100644 --- a/lib/getcwd.c +++ b/lib/getcwd.c @@ -60,10 +60,7 @@ # define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN (d) + 1) #endif -#if HAVE_UNISTD_H || _LIBC -# include <unistd.h> -#endif - +#include <unistd.h> #include <stdlib.h> #include <string.h> |