X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Finteractive.c;h=c8f54f5dfa92a2de432a57131f732a106201210c;hb=e79790783b6826af94196b1ecb74358a675460ed;hp=40c0ba55df97e0d100e693683e155cbd97a32ad7;hpb=d6967896bc4e18f9b4359a2ef5be5c0f1bcc456a;p=dump.git diff --git a/restore/interactive.c b/restore/interactive.c index 40c0ba5..c8f54f5 100644 --- a/restore/interactive.c +++ b/restore/interactive.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: interactive.c,v 1.15 2000/12/21 11:14:54 stelian Exp $"; + "$Id: interactive.c,v 1.17 2001/06/18 10:58:28 stelian Exp $"; #endif /* not lint */ #include @@ -49,7 +49,11 @@ static const char rcsid[] = #include #ifdef __linux__ +#ifdef HAVE_EXT2FS_EXT2_FS_H +#include +#else #include +#endif #include #else /* __linux__ */ #include @@ -97,7 +101,7 @@ static int pflag = 0; /* prompt mode */ * Structure and routines associated with listing directories. */ struct afile { - ino_t fnum; /* inode number of file */ + dump_ino_t fnum; /* inode number of file */ char *fname; /* file name */ short len; /* name length */ char prefix; /* prefix character */ @@ -126,7 +130,7 @@ void runcmdshell(void) { register struct entry *np; - ino_t ino; + dump_ino_t ino; struct arglist arglist; char curdir[MAXPATHLEN]; char name[MAXPATHLEN];