Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171730496
D38575.id117160.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
391 B
Referenced Files
None
Subscribers
None
D38575.id117160.diff
View Options
diff --git a/contrib/libpcap/pcap/pcap.h b/contrib/libpcap/pcap/pcap.h
--- a/contrib/libpcap/pcap/pcap.h
+++ b/contrib/libpcap/pcap/pcap.h
@@ -85,7 +85,10 @@
#endif /* _WIN32/MSDOS/UN*X */
#include <pcap/socket.h> /* for SOCKET, as the active-mode rpcap APIs use it */
-#include <net/bpf.h>
+
+#ifndef PCAP_DONT_INCLUDE_PCAP_BPF_H
+#include <pcap/bpf.h>
+#endif
#include <stdio.h>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 14, 2:33 AM (6 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38878704
Default Alt Text
D38575.id117160.diff (391 B)
Attached To
Mode
D38575: libpcap: Make pcap/bpf.h a minimal wrapper around net/bpf.h
Attached
Detach File
Event Timeline
Log In to Comment