From 1e6e5b299c235b513095a76a4cd9fffc41e8fc9c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 17 Jun 2002 18:36:36 +0000 Subject: beginning to sync up for 2.2.5 release.... --- source/lib/interfaces.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'source/lib/interfaces.c') diff --git a/source/lib/interfaces.c b/source/lib/interfaces.c index e7b9efa1f0a..9e8c979aa7b 100644 --- a/source/lib/interfaces.c +++ b/source/lib/interfaces.c @@ -39,15 +39,8 @@ #include #include #include -#ifdef HAVE_SYS_TIME_H -#include -#endif #include -#ifndef SIOCGIFCONF -#include -#endif - #ifdef AUTOCONF_TEST struct iface_struct { char name[16]; @@ -59,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