summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguy <guy>2002-04-06 23:30:28 +0000
committerguy <guy>2002-04-06 23:30:28 +0000
commit54d9c05b85adc34219ad0aa079ab9fdcbced158d (patch)
tree017afb576d095f554abf3842c1381bc603f2c642
parenta790d298a5bf86295baa00c2ed9b8b5e35cc5eed (diff)
downloadlibpcap-54d9c05b85adc34219ad0aa079ab9fdcbced158d.tar.gz
There's no need to include <netdb.h> twice.
-rw-r--r--nametoaddr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index d9a0389b..6b999f53 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -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"