diff options
author | Jim Meyering <jim@meyering.net> | 2004-03-29 07:29:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-03-29 07:29:06 +0000 |
commit | edf60899e05b5c6f0bed0e3453641db797bf22fd (patch) | |
tree | 1fe5c696721374318534671cd636f9240bb376ec /lib | |
parent | 829a38c5d3aca3feeef4025200d4f4af0044b801 (diff) | |
download | coreutils-edf60899e05b5c6f0bed0e3453641db797bf22fd.tar.xz |
[HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/canonicalize.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/canonicalize.c b/lib/canonicalize.c index 6e58b282d..643f75b14 100644 --- a/lib/canonicalize.c +++ b/lib/canonicalize.c @@ -38,6 +38,10 @@ void free (); #include <sys/stat.h> +#if HAVE_UNISTD_H +# include <unistd.h> +#endif + #include <errno.h> #include "path-concat.h" |