]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Add an include guard in extract.h
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 29 Jun 2019 19:22:19 +0000 (21:22 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 29 Jun 2019 19:22:19 +0000 (21:22 +0200)
extract.h

index fca0b811b625c9818b161eb07e36040433d27f16..007e9dbb57e805f3a775f270d0c4afc87bbc9fc0 100644 (file)
--- a/extract.h
+++ b/extract.h
@@ -19,6 +19,9 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef EXTRACT_H
+#define EXTRACT_H
+
 #include <string.h>
 
 /*
@@ -892,3 +895,5 @@ get_ipv4_to_network_order(netdissect_options *ndo, const u_char *p)
 
 #define GET_IPV4_TO_HOST_ORDER(p) get_ipv4_to_host_order(ndo, (const u_char *)(p))
 #define GET_IPV4_TO_NETWORK_ORDER(p) get_ipv4_to_network_order(ndo, (const u_char *)(p))
+
+#endif /* EXTRACT_H */