aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-08-04 11:27:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-08-04 11:27:57 +0000
commita2f045451f5a296059e2a2a8b9c15ca804385170 (patch)
tree1b0b1b3e1fda573e8380f1397f6e00c487ca4235 /lib/if2ip.c
parent02f994a715c3afae203ad99a71e52ea284523c40 (diff)
moved an include file further up to make AIX 3 more happy
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 065108efa..420b6df2c 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -56,6 +56,11 @@
#include <arpa/inet.h>
#endif
#include <netinet/in.h>
+
+#ifdef HAVE_SYS_TIME_H
+/* This must be before net/if.h for AIX 3.2 to enjoy life */
+#include <sys/time.h>
+#endif
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
@@ -66,10 +71,6 @@
#include <netdb.h>
#endif
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif