]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix a comment. [skip ci]
authorGuy Harris <[email protected]>
Wed, 11 Aug 2021 21:42:11 +0000 (14:42 -0700)
committerGuy Harris <[email protected]>
Wed, 11 Aug 2021 21:42:11 +0000 (14:42 -0700)
Indicate that we're including pcap/bpf.h not only to get bpf_u_int32
defined, but to get BPF_MEMWORDS defined, so that people (like me!) know
that you can't remove the need to include pcap/bpf.h just by using
uint32_t rather than bpf_u_int32.

gencode.h

index a1748b88543c60ba8c1079e75366e4429983796c..9631dd02ee08e66bb254110dad0b094b3a70b919 100644 (file)
--- a/gencode.h
+++ b/gencode.h
@@ -23,7 +23,7 @@
 #define gencode_h
 
 #include "pcap/funcattrs.h"
-#include "pcap/bpf.h" /* bpf_u_int32 */
+#include "pcap/bpf.h" /* bpf_u_int32 and BPF_MEMWORDS */
 
 /*
  * ATM support: