From 03ac082dcb375b6f3ca3d810a6a6367542bc23ce Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Jul 2002 10:35:28 +0000 Subject: updated the 3.0 branch from the head branch - ready for alpha18 --- source/lib/interfaces.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'source/lib/interfaces.c') diff --git a/source/lib/interfaces.c b/source/lib/interfaces.c index 7b8ef0d0c1b..96f4b4cd94f 100644 --- a/source/lib/interfaces.c +++ b/source/lib/interfaces.c @@ -41,10 +41,6 @@ #include #include -#ifndef SIOCGIFCONF -#include -#endif - #ifdef AUTOCONF_TEST struct iface_struct { char name[16]; @@ -56,6 +52,16 @@ struct iface_struct { #include "interfaces.h" #endif +#ifdef HAVE_SYS_TIME_H +#include +#endif + +#ifndef SIOCGIFCONF +#ifdef HAVE_SYS_SOCKIO_H +#include +#endif +#endif + #ifdef HAVE_STDLIB_H #include #endif -- cgit