]> git.wh0rd.org - dump.git/blobdiff - dump/main.c
RPM spec update and time.h cleanups (from RedHat latest rpm)
[dump.git] / dump / main.c
index 82ff7f2e386e5f3dd3c161d9cb5ac6b1edc168f2..15d00f32cefd275f118552e47117a406a5cf7496 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: main.c,v 1.48 2001/04/27 15:22:47 stelian Exp $";
+       "$Id: main.c,v 1.50 2001/07/18 09:12:05 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -58,10 +58,14 @@ static const char rcsid[] =
 
 #include <sys/param.h>
 #include <sys/time.h>
+#include <time.h>
 #ifdef __linux__
+#ifdef HAVE_EXT2FS_EXT2_FS_H
+#include <ext2fs/ext2_fs.h>
+#else
 #include <linux/ext2_fs.h>
+#endif
 #include <ext2fs/ext2fs.h>
-#include <time.h>
 #include <sys/stat.h>
 #include <bsdcompat.h>
 #elif defined sunos