diff options
author | Jim Meyering <jim@meyering.net> | 2005-07-01 20:55:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-07-01 20:55:29 +0000 |
commit | 58076430c3324600ef5dba5505fbb2e1c5e02e03 (patch) | |
tree | 6d6484331407705aea0a84fc1826d1fb9f44a8b9 /lib/getcwd.c | |
parent | ceaa11b643fc2bfed8a57b3e1bc3f75a1ad3c7cd (diff) | |
download | coreutils-58076430c3324600ef5dba5505fbb2e1c5e02e03.tar.xz |
Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't include <sys/file.h>).
Diffstat (limited to 'lib/getcwd.c')
-rw-r--r-- | lib/getcwd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/getcwd.c b/lib/getcwd.c index 94e5ba3b5..86070ead8 100644 --- a/lib/getcwd.c +++ b/lib/getcwd.c @@ -30,9 +30,7 @@ #include <stdbool.h> #include <stddef.h> -#if HAVE_FCNTL_H -# include <fcntl.h> /* For AT_FDCWD on Solaris 9. */ -#endif +#include <fcntl.h> /* For AT_FDCWD on Solaris 9. */ #ifndef __set_errno # define __set_errno(val) (errno = (val)) |