Include sys/param.h for FreeBSD
authorNikos Ntarmos <ntarmos@cs.uoi.gr>
Mon, 8 Jun 2009 15:09:28 +0000 (18:09 +0300)
committerBrenden Matthews <brenden@rty.ca>
Mon, 8 Jun 2009 19:05:20 +0000 (13:05 -0600)
We need this on FreeBSD as some of the constants used in ucred.h and
mount.h are defined there.

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Brenden Matthews <brenden@rty.ca>

src/freebsd.h

index 8835c0c..3a3d137 100644 (file)
@@ -2,6 +2,7 @@
 #define FREEBSD_H_
 
 #include "common.h"
+#include <sys/param.h>
 #include <sys/mount.h>
 #include <sys/ucred.h>
 #include <fcntl.h>