]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[HAVE_UNISTD_H]: Include <unistd.h>, for resolvepath declaration.
authorJim Meyering <jim@meyering.net>
Mon, 29 Mar 2004 07:29:06 +0000 (07:29 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 29 Mar 2004 07:29:06 +0000 (07:29 +0000)
lib/canonicalize.c

index 6e58b282dd4cba63bf7c112ebf6c53e23611df04..643f75b145407fe692eeb94b5fa3ae34fc64a815 100644 (file)
@@ -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"