aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--lib/helper.c1
-rw-r--r--lib/mount_util.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 73e02b7..18a479a 100644
--- 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
diff --git a/lib/helper.c b/lib/helper.c
index 4e7945c..d1cd075 100644
--- a/lib/helper.c
+++ b/lib/helper.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <limits.h>
#include <errno.h>
+#include <sys/param.h>
enum {
KEY_HELP,
diff --git a/lib/mount_util.c b/lib/mount_util.c
index fc56255..7db8060 100644
--- a/lib/mount_util.c
+++ b/lib/mount_util.c
@@ -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)
{