aboutsummaryrefslogtreecommitdiffstats
path: root/fad-win32.c
diff options
context:
space:
mode:
authorrisso <risso>2003-03-12 13:28:54 +0000
committerrisso <risso>2003-03-12 13:28:54 +0000
commitdfa68b1635c29ea7402b6143fd261bd3cffa3cb2 (patch)
tree721f21ccbc26e2888c42ee054b840f9937d416c2 /fad-win32.c
parent23d8b7205b0a747614dbad1da61d0b1de2c291e2 (diff)
Fixed some compiler warnings
Diffstat (limited to 'fad-win32.c')
-rw-r--r--fad-win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fad-win32.c b/fad-win32.c
index 3dd18c1..58a10e7 100644
--- a/fad-win32.c
+++ b/fad-win32.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/fad-win32.c,v 1.4 2002-08-08 09:15:57 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/fad-win32.c,v 1.5 2003-03-12 13:28:54 risso Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -29,6 +29,7 @@ static const char rcsid[] =
#endif
#include <pcap.h>
+#include <pcap-int.h>
#include <packet32.h>
#include <errno.h>
@@ -145,7 +146,6 @@ pcap_add_if_win32(pcap_if_t **devlist, char *name, const char *desc,
npf_if_addr if_addrs[16];
LONG if_addr_size;
int res = 0;
- struct sockaddr_in *addr, *netmask;
if_addr_size = 16;