aboutsummaryrefslogtreecommitdiff
path: root/pcap-enet.c
diff options
context:
space:
mode:
authorguy <guy>2003-02-11 01:46:05 +0000
committerguy <guy>2003-02-11 01:46:05 +0000
commitaedf01b20fa6470fe998a0998dc43f59f48fc0f4 (patch)
tree74c1d7f8a10022e23c12213f151b6359b6d70fd8 /pcap-enet.c
parent52866495a0123c3ad7ada8a31555a57c9173f6ff (diff)
From Shaun <delius@progsoc.uts.edu.au>: on AIX, load the BPF driver and
create the BPF device nodes if necessary, and rename our "bpf.h" to "pcap-bpf.h" and install it in "/usr/include", so that "pcap-bpf.c" gets the system's bpf.h file if it includes <net/bpf.h> - on AIX, it needs to get an AIX-specific structure from that header in order to support loading the driver and creating the nodes. Update "packaging/pcap.spec".
Diffstat (limited to 'pcap-enet.c')
-rw-r--r--pcap-enet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-enet.c b/pcap-enet.c
index 2e478c45..4458d6ca 100644
--- a/pcap-enet.c
+++ b/pcap-enet.c
@@ -8,7 +8,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-enet.c,v 1.6 2002-06-11 17:04:46 itojun Exp $";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-enet.c,v 1.7 2003-02-11 01:46:06 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -22,7 +22,7 @@ static const char rcsid[] =
#include <sys/socket.h>
#include <net/if.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
#include <net/enet.h>
#include <netinet/in.h>