diff options
Diffstat (limited to 'lib/ext2fs/get_pathname.c')
-rw-r--r-- | lib/ext2fs/get_pathname.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/ext2fs/get_pathname.c b/lib/ext2fs/get_pathname.c index 8c94e932..adce2004 100644 --- a/lib/ext2fs/get_pathname.c +++ b/lib/ext2fs/get_pathname.c @@ -20,7 +20,9 @@ #include <stdio.h> #include <string.h> +#if HAVE_UNISTD_H #include <unistd.h> +#endif #include <stdlib.h> #if HAVE_ERRNO_H #include <errno.h> @@ -31,12 +33,15 @@ #include "ext2fs.h" struct get_pathname_struct { - int search_ino; - int parent; + ino_t search_ino; + ino_t parent; char *name; errcode_t errcode; }; +#ifdef __TURBOC__ +#pragma argsused +#endif static int get_pathname_proc(struct ext2_dir_entry *dirent, int offset, int blocksize, |