#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 <config.h>
#include <sys/stat.h>
#ifdef __linux__
+#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>
* 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 */
runcmdshell(void)
{
register struct entry *np;
- ino_t ino;
+ dump_ino_t ino;
struct arglist arglist;
char curdir[MAXPATHLEN];
char name[MAXPATHLEN];