r3578: a couple of include changes that should help with FreeBSD
authorAndrew Tridgell <tridge@samba.org>
Sat, 6 Nov 2004 12:10:57 +0000 (12:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:33 +0000 (13:05 -0500)
(This used to be commit d8c4a660a08d7be8b69e4e5458bdcc1cb492506e)

source4/include/system/filesys.h
source4/lib/netif/netif.c

index 60d2910ba04e026f842b7130c6ff199545ff4f3e..619b97d9bc5c99d8fc86ad9102bf7db8ac8dbd84 100644 (file)
 #include <unistd.h>
 #include <sys/stat.h>
 
 #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
 #ifdef HAVE_SYS_MOUNT_H
 #include <sys/mount.h>
 #endif
 #include <sys/resource.h>
 #endif
 
 #include <sys/resource.h>
 #endif
 
-
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif
index 9fe4d21bc94c6fb39958ef07d014046ace8b57d1..2a87a7a610b8a3d948f30f780b258ee711d52c47 100644 (file)
@@ -36,6 +36,7 @@
 #include <netdb.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <netdb.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
+#include <sys/socket.h>
 #include <net/if.h>
 #include <netdb.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
 #include <netdb.h>
 #include <sys/ioctl.h>