move #include for Solaris and Apple.

This commit is contained in:
Simon Kelley committed 2012-03-07 20:46:28 +00:00
1 parent eabc6dd76a
commit 70969c1757
1 file changed
+1 -1
+1 -1
View File
@@ -17,13 +17,13 @@
#include "dnsmasq.h"
#if defined(HAVE_BSD_NETWORK) || defined(HAVE_SOLARIS_NETWORK)
#include <ifaddrs.h>
#if defined(HAVE_BSD_NETWORK) && !defined(__APPLE__)
#include <sys/sysctl.h>
#include <net/route.h>
#include <net/if_dl.h>
#include <netinet/if_ether.h>
#include <ifaddrs.h>
#ifndef SA_SIZE
#define SA_SIZE(sa) \