summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/netif/netif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/netif/netif.c b/source4/lib/netif/netif.c
index b197178880..8256615ef2 100644
--- a/source4/lib/netif/netif.c
+++ b/source4/lib/netif/netif.c
@@ -35,7 +35,6 @@
#include <sys/types.h>
#include <netdb.h>
#include <sys/ioctl.h>
-#include <net/if.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <sys/time.h>
@@ -77,6 +76,7 @@
#define QSORT_CAST (int (*)(const void *, const void *))
#endif
+#include <net/if.h>
#include "netif.h"
#if HAVE_IFACE_IFCONF