From a2f045451f5a296059e2a2a8b9c15ca804385170 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 4 Aug 2000 11:27:57 +0000
Subject: [PATCH] moved an include file further up to make AIX 3 more happy

---
 lib/if2ip.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

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 <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
-- 
GitLab