]> git.wh0rd.org - dump.git/blobdiff - restore/symtab.c
Exclude directory entries to non-dumped inodes from the dump.
[dump.git] / restore / symtab.c
index 5bd5e67c45b8b43958f674ffdf2422fe900c7cc0..3e6d3fc2b6674a31a076dcb2eb3204790e1159d3 100644 (file)
@@ -37,7 +37,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: symtab.c,v 1.21 2003/03/30 15:40:40 stelian Exp $";
+       "$Id: symtab.c,v 1.22 2003/10/26 16:05:48 stelian Exp $";
 #endif /* not lint */
 
 /*
@@ -63,7 +63,12 @@ static const char rcsid[] =
 #endif
 #include <bsdcompat.h>
 #else  /* __linux__ */
+#ifdef sunos
+#include <sys/fcntl.h>
+#include <bsdcompat.h>
+#else
 #include <ufs/ufs/dinode.h>
+#endif
 #endif /* __linux__ */
 
 #include <errno.h>