summaryrefslogtreecommitdiff
path: root/lib/ext2fs/freefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/freefs.c')
-rw-r--r--lib/ext2fs/freefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ext2fs/freefs.c b/lib/ext2fs/freefs.c
index 43331aba..8d1da194 100644
--- a/lib/ext2fs/freefs.c
+++ b/lib/ext2fs/freefs.c
@@ -10,7 +10,9 @@
*/
#include <stdio.h>
+#if HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <stdlib.h>
#include <linux/ext2_fs.h>