summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-06 12:10:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:33 -0500
commit800212bc12a90a6c32d68c6a01edc3142bd93369 (patch)
treeb77a6609686176f837f6ebe6a1131b50e2ad2c8d /source4/include
parent6c3a5b30e9d42d832f4c68211c5f46a096803591 (diff)
downloadsamba-800212bc12a90a6c32d68c6a01edc3142bd93369.tar.gz
samba-800212bc12a90a6c32d68c6a01edc3142bd93369.tar.bz2
samba-800212bc12a90a6c32d68c6a01edc3142bd93369.zip
r3578: a couple of include changes that should help with FreeBSD
(This used to be commit d8c4a660a08d7be8b69e4e5458bdcc1cb492506e)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/system/filesys.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/include/system/filesys.h b/source4/include/system/filesys.h
index 60d2910ba0..619b97d9bc 100644
--- a/source4/include/system/filesys.h
+++ b/source4/include/system/filesys.h
@@ -23,6 +23,10 @@
#include <unistd.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
+
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
@@ -108,11 +112,6 @@
#include <sys/resource.h>
#endif
-
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif