dect
/
libpcap
Archived
13
0
Fork 0

We have to include <net/bpf.h> on Digital UNIX to get various ioctls

defined.
This commit is contained in:
guy 2003-05-02 08:35:42 +00:00
parent 7fcfe91807
commit fdbc702c25
1 changed files with 8 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.72 2003-01-03 08:33:24 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.73 2003-05-02 08:35:42 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -61,6 +61,13 @@ struct rtentry;
#include <string.h>
#include <unistd.h>
/*
* Make "pcap.h" not include "pcap-bpf.h"; we are going to include the
* native OS version, as we need various BPF ioctls from it.
*/
#define PCAP_DONT_INCLUDE_PCAP_BPF_H
#include <net/bpf.h>
#include "pcap-int.h"
#ifdef HAVE_OS_PROTO_H