aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy>2002-04-07 00:22:30 +0000
committerguy <guy>2002-04-07 00:22:30 +0000
commit67a0588585b6d391f610af9156a372b421af0bf5 (patch)
tree33bcb980a3336ba4311709fedecbab069eb8836f
parent1d35b4b5904bfaf67721917b00c2143a096a9082 (diff)
No need to include <sys/socket.h> twice.
-rw-r--r--nametoaddr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index 020b068..32b394d 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.61 2002-04-06 23:27:33 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.62 2002-04-07 00:22:30 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -45,9 +45,6 @@ struct rtentry;
#endif
#include <arpa/inet.h>
#include <netdb.h>
-#ifdef INET6
-#include <sys/socket.h>
-#endif /*INET6*/
#include <ctype.h>
#include <errno.h>