diff options
-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" |