Added include <sys/params> so that PATH_MAX is defined on FreeBSD.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 11 Mar 2010 07:03:02 +0000 (08:03 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 11 Mar 2010 07:03:02 +0000 (08:03 +0100)
dus.c

diff --git a/dus.c b/dus.c
index c391784..04a0c60 100644 (file)
--- a/dus.c
+++ b/dus.c
@@ -28,6 +28,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <dirent.h>
 #include <stdlib.h>
 #include <stdio.h>