aboutsummaryrefslogtreecommitdiffstats
path: root/nametoaddr.c
diff options
context:
space:
mode:
authorguy <guy>2002-04-06 23:27:33 +0000
committerguy <guy>2002-04-06 23:27:33 +0000
commit8d52bdae65777b8a166eb0f51f366e2a70d00465 (patch)
tree69a090c6c2f7910ee613cb46d9972fcf6195e9bf /nametoaddr.c
parentfdaba9c2a6db9b0a9dfb793baf8ab3cb33492c0e (diff)
There's no need to include <netdb.h> twice.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index d9a0389..020b068 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.61 2002-04-06 23:27:33 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"