]> git.wh0rd.org - dump.git/blobdiff - dump/tape.c
RPM spec update and time.h cleanups (from RedHat latest rpm)
[dump.git] / dump / tape.c
index 3f2ae89a651bedf6f37189240cc2b5ff8352b09f..25d7c502c4cba16626a3759d05ccea1a87283166 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: tape.c,v 1.46 2001/05/12 11:36:12 stelian Exp $";
+       "$Id: tape.c,v 1.48 2001/07/18 09:12:05 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -62,8 +62,8 @@ int    write(), read();
 
 #ifdef __linux__
 #include <sys/types.h>
+#include <sys/time.h>
 #include <time.h>
-#include <linux/types.h>
 #endif
 #include <sys/param.h>
 #include <sys/socket.h>
@@ -71,7 +71,11 @@ int    write(), read();
 #include <sys/wait.h>
 #include <sys/mtio.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 <bsdcompat.h>
 #elif defined sunos