Whamcloud - gitweb
Add "#include <limits.h>" to get PATH_MAX for mke2fs and tune2fs
authorTheodore Ts'o <tytso@mit.edu>
Sun, 8 Jun 2008 02:07:50 +0000 (22:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 8 Jun 2008 02:07:50 +0000 (22:07 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c
misc/tune2fs.c

index a955af1..ff44204 100644 (file)
@@ -45,6 +45,7 @@ extern int optind;
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <libgen.h>
+#include <limits.h>
 
 #include "ext2fs/ext2_fs.h"
 #include "et/com_err.h"
index ba19b23..ba2bf0b 100644 (file)
@@ -43,6 +43,7 @@ extern int optind;
 #include <unistd.h>
 #include <sys/types.h>
 #include <libgen.h>
+#include <limits.h>
 
 #include "ext2fs/ext2_fs.h"
 #include "ext2fs/ext2fs.h"