rs_bitmap.c:
  Add #ifdefs for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H

diff --git a/lib/ext2fs/rs_bitmap.c b/lib/ext2fs/rs_bitmap.c
index 02e3dd1..9ee0da8 100644
--- a/lib/ext2fs/rs_bitmap.c
+++ b/lib/ext2fs/rs_bitmap.c
@@ -17,8 +17,12 @@
 #include <stdlib.h>
 #include <fcntl.h>
 #include <time.h>
+#ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
+#endif
 #if HAVE_ERRNO_H
 #include <errno.h>
 #endif