]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
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 a955af1264f21dc24298f77a0ddbc958a4c1e52a..ff442043f90aea9f2cc3e0e12ab47f7a93711dd5 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 ba19b239ef0b115d9b255882f49b96115a421176..ba2bf0b9421fb6383198b52e45aa2f99663d9103 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"