summaryrefslogtreecommitdiff
path: root/lib/ext2fs/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/version.c')
-rw-r--r--lib/ext2fs/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ext2fs/version.c b/lib/ext2fs/version.c
index 38accf6b..9e489ec6 100644
--- a/lib/ext2fs/version.c
+++ b/lib/ext2fs/version.c
@@ -10,7 +10,9 @@
*/
#include <et/com_err.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>