X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Finteractive.c;h=c8f54f5dfa92a2de432a57131f732a106201210c;hp=ca7b2e93841d7c4e1fa24cadc5fa6bc3e6af0094;hb=ab28ebd489d7380f23e38705f2ce4c8385575d5e;hpb=0a99352128efc4af44160eee69e8990686bf9ad5 diff --git a/restore/interactive.c b/restore/interactive.c index ca7b2e9..c8f54f5 100644 --- a/restore/interactive.c +++ b/restore/interactive.c @@ -2,8 +2,8 @@ * Ported to Linux's Second Extended File System as part of the * dump and restore backup suit * Remy Card , 1994-1997 - * Stelian Pop , 1999-2000 - * Stelian Pop - Alcôve , 2000 + * Stelian Pop , 1999-2000 + * Stelian Pop - Alcôve , 2000 */ /* @@ -41,14 +41,19 @@ #ifndef lint static const char rcsid[] = - "$Id: interactive.c,v 1.13 2000/11/10 14:42:25 stelian Exp $"; + "$Id: interactive.c,v 1.17 2001/06/18 10:58:28 stelian Exp $"; #endif /* not lint */ +#include #include #include #ifdef __linux__ +#ifdef HAVE_EXT2FS_EXT2_FS_H +#include +#else #include +#endif #include #else /* __linux__ */ #include @@ -96,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 */ @@ -125,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];