X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Finteractive.c;h=c8f54f5dfa92a2de432a57131f732a106201210c;hb=132daf888086bd9816955545c6b6073440cf8b60;hp=4f7049b6a7e7eacfb2df45a2218fbd6ffae6c2cc;hpb=64bb207ae9f9a2cad0aff0990d3fd94d9b7c3c55;p=dump.git diff --git a/restore/interactive.c b/restore/interactive.c index 4f7049b..c8f54f5 100644 --- a/restore/interactive.c +++ b/restore/interactive.c @@ -2,7 +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 , 1999-2000 + * Stelian Pop - AlcĂ´ve , 2000 */ /* @@ -40,14 +41,19 @@ #ifndef lint static const char rcsid[] = - "$Id: interactive.c,v 1.12 2000/06/11 17:26:04 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 @@ -95,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 */ @@ -124,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];