diff options
Diffstat (limited to 'fsck_minix.c')
| -rw-r--r-- | fsck_minix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fsck_minix.c b/fsck_minix.c index d31de20a8..09111c5dc 100644 --- a/fsck_minix.c +++ b/fsck_minix.c | |||
| @@ -96,6 +96,7 @@ | |||
| 96 | #include <termios.h> | 96 | #include <termios.h> |
| 97 | #include <mntent.h> | 97 | #include <mntent.h> |
| 98 | #include <sys/stat.h> | 98 | #include <sys/stat.h> |
| 99 | #include <sys/param.h> /* for PATH_MAX */ | ||
| 99 | 100 | ||
| 100 | #include <linux/fs.h> | 101 | #include <linux/fs.h> |
| 101 | #include <linux/minix_fs.h> | 102 | #include <linux/minix_fs.h> |
| @@ -143,7 +144,7 @@ static int termios_set = 0; | |||
| 143 | /* File-name data */ | 144 | /* File-name data */ |
| 144 | #define MAX_DEPTH 50 | 145 | #define MAX_DEPTH 50 |
| 145 | static int name_depth = 0; | 146 | static int name_depth = 0; |
| 146 | static char name_list[MAX_DEPTH][NAME_MAX+1]; | 147 | static char name_list[MAX_DEPTH][PATH_MAX + 1]; |
| 147 | 148 | ||
| 148 | static char * inode_buffer = NULL; | 149 | static char * inode_buffer = NULL; |
| 149 | #define Inode (((struct minix_inode *) inode_buffer)-1) | 150 | #define Inode (((struct minix_inode *) inode_buffer)-1) |
