summaryrefslogtreecommitdiffstats
path: root/lib/replace/system/filesys.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/system/filesys.h')
-rw-r--r--lib/replace/system/filesys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h
index b234f101ef..bd6e6a0dd1 100644
--- a/lib/replace/system/filesys.h
+++ b/lib/replace/system/filesys.h
@@ -26,7 +26,10 @@
*/
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <sys/stat.h>
#ifdef HAVE_SYS_PARAM_H