Whamcloud - gitweb
rs_bitmap.c:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 20 Oct 1997 00:33:00 +0000 (00:33 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Oct 1997 00:33:00 +0000 (00:33 +0000)
  Add #ifdefs for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H

lib/ext2fs/rs_bitmap.c

index 02e3dd1..9ee0da8 100644 (file)
 #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