summaryrefslogtreecommitdiff
path: root/lib/ext2fs/cmp_bitmaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext2fs/cmp_bitmaps.c')
-rw-r--r--lib/ext2fs/cmp_bitmaps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ext2fs/cmp_bitmaps.c b/lib/ext2fs/cmp_bitmaps.c
index 638315f8..9e583a7d 100644
--- a/lib/ext2fs/cmp_bitmaps.c
+++ b/lib/ext2fs/cmp_bitmaps.c
@@ -17,8 +17,12 @@
#include <stdlib.h>
#include <fcntl.h>
#include <time.h>
+#if HAVE_SYS_STAT_H
#include <sys/stat.h>
+#endif
+#if HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#if HAVE_ERRNO_H
#include <errno.h>
#endif