]> git.wh0rd.org - dump.git/blobdiff - restore/symtab.c
Check for the e2fsprogs header <ext2fs/ext2_fs.h> instead of the kernel header if...
[dump.git] / restore / symtab.c
index 2e157f4ab4814903bf1f044bdcafc46ca625234f..d020f662f376c0cf89b51f1ee49b4e533f7b585c 100644 (file)
@@ -41,7 +41,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: symtab.c,v 1.15 2001/05/12 11:36:12 stelian Exp $";
+       "$Id: symtab.c,v 1.16 2001/06/18 10:58:28 stelian Exp $";
 #endif /* not lint */
 
 /*
@@ -60,7 +60,11 @@ static const char rcsid[] =
 #ifdef __linux__
 #include <sys/time.h>
 #include <time.h>
+#ifdef HAVE_EXT2FS_EXT2_FS_H
+#include <ext2fs/ext2_fs.h>
+#else
 #include <linux/ext2_fs.h>
+#endif
 #include <bsdcompat.h>
 #else  /* __linux__ */
 #include <ufs/ufs/dinode.h>