]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add multiple inclusion guards to gencode.h. [skip ci]
authorDenis Ovsienko <[email protected]>
Tue, 10 Aug 2021 20:26:29 +0000 (21:26 +0100)
committerDenis Ovsienko <[email protected]>
Tue, 10 Aug 2021 20:27:26 +0000 (21:27 +0100)
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 */