Fix missing <sys/param.h> include for PATH_MAX
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 10 Jun 2008 18:34:11 +0000 (18:34 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Tue, 10 Jun 2008 18:34:11 +0000 (18:34 +0000)
ChangeLog
lib/helper.c
lib/mount_util.c

index 73e02b789ee28096207d0ea51cf34fc2790ab03c..18a479ab39742b9e50e45efccd19189437334593 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
        * Fix theoretical infinite loops in libfuse.  Reported by Szabolcs
        Szakacsits
 
+       * Fix missing <sys/param.h> include for PATH_MAX.  Reported by
+       Szabolcs Szakacsits
+
 2008-05-23  Miklos Szeredi <miklos@szeredi.hu>
 
        * Fix mounting over symlink.  Reported by Szabolcs Szakacsits
index 4e7945c78467e15983a2ae1a6f04f373e94c5d55..d1cd075d6d09ac6ccd2e5d55776ae8d9e48a9851 100644 (file)
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <limits.h>
 #include <errno.h>
+#include <sys/param.h>
 
 enum  {
        KEY_HELP,
index fc5625570f66facce9e96e7e048c601659a08e66..7db8060b11d4c07701da4cf4a4ea5a58738a50f1 100644 (file)
@@ -18,6 +18,7 @@
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <sys/mount.h>
+#include <sys/param.h>
 
 static int mtab_needs_update(const char *mnt)
 {