diff options
Diffstat (limited to 'source4/lib/netif/netif.c')
-rw-r--r-- | source4/lib/netif/netif.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/lib/netif/netif.c b/source4/lib/netif/netif.c index 2a87a7a610..b197178880 100644 --- a/source4/lib/netif/netif.c +++ b/source4/lib/netif/netif.c @@ -35,15 +35,15 @@ #include <sys/types.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 <sys/time.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> #ifndef AUTOCONF_TEST -#include "lib/netif/netif.h" #include "config.h" #endif @@ -77,6 +77,8 @@ #define QSORT_CAST (int (*)(const void *, const void *)) #endif +#include "netif.h" + #if HAVE_IFACE_IFCONF /* this works for Linux 2.2, Solaris 2.5, SunOS4, HPUX 10.20, OSF1 |