]> granicus.if.org Git - curl/commitdiff
moved an include file further up to make AIX 3 more happy
authorDaniel Stenberg <daniel@haxx.se>
Fri, 4 Aug 2000 11:27:57 +0000 (11:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 4 Aug 2000 11:27:57 +0000 (11:27 +0000)
lib/if2ip.c

index 065108efa33cd3f4e834812feaf9110159a98b87..420b6df2c5ffbb0128801ceb14d532c0ac0e9a71 100644 (file)
 #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
 #include <netdb.h>
 #endif
 
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-
 #ifdef HAVE_SYS_SOCKIO_H
 #include <sys/sockio.h>
 #endif