]> The Tcpdump Group git mirrors - libpcap/blobdiff - gencode.h
Add multiple inclusion guards to gencode.h. [skip ci]
[libpcap] / gencode.h
index 053e85f9c6652387c837b601d2c90ae0c6bc3bf6..647946d0dc03e6b9371ab45fc042fc1133a3c0da 100644 (file)
--- a/gencode.h
+++ b/gencode.h
@@ -19,6 +19,9 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef gencode_h
+#define gencode_h
+
 #include "pcap/funcattrs.h"
 
 /*
@@ -400,3 +403,5 @@ int pcap_parse(void *, compiler_state_t *);
 /* XXX */
 #define JT(b)  ((b)->et.succ)
 #define JF(b)  ((b)->ef.succ)
+
+#endif /* gencode_h */