]> The Tcpdump Group git mirrors - libpcap/commitdiff
There's no need to include <netdb.h> twice.
authorguy <guy>
Sat, 6 Apr 2002 23:30:28 +0000 (23:30 +0000)
committerguy <guy>
Sat, 6 Apr 2002 23:30:28 +0000 (23:30 +0000)
nametoaddr.c

index d9a0389b75d79b160c53beb923a6eb20624ad23a..6b999f5342b3c0a36ac146b6cd27f01dc2355144 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.60 2001-07-28 22:56:35 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.60.2.1 2002-04-06 23:30:28 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -44,8 +44,8 @@ struct rtentry;
 #include <netinet/if_ether.h>
 #endif
 #include <arpa/inet.h>
-#ifdef INET6
 #include <netdb.h>
+#ifdef INET6
 #include <sys/socket.h>
 #endif /*INET6*/
 
@@ -53,7 +53,6 @@ struct rtentry;
 #include <errno.h>
 #include <stdlib.h>
 #include <memory.h>
-#include <netdb.h>
 #include <stdio.h>
 
 #include "pcap-int.h"