diff --git a/lib/if2ip.c b/lib/if2ip.c index 065108efa3..420b6df2c5 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -56,6 +56,11 @@ #include #endif #include + +#ifdef HAVE_SYS_TIME_H +/* This must be before net/if.h for AIX 3.2 to enjoy life */ +#include +#endif #ifdef HAVE_NET_IF_H #include #endif @@ -66,10 +71,6 @@ #include #endif -#ifdef HAVE_SYS_TIME_H -#include -#endif - #ifdef HAVE_SYS_SOCKIO_H #include #endif