From 965f603238a92b6ab8cd8a0592e0fb65c096b3e1 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 26 Mar 2022 00:05:31 +0100 Subject: treewide: Add include guards ...at the moment, just for consistency with packet.h, icmp.h, tcp.h and udp.h. Signed-off-by: Stefano Brivio --- pcap.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pcap.h') diff --git a/pcap.h b/pcap.h index 73b5ed8..e951b2f 100644 --- a/pcap.h +++ b/pcap.h @@ -3,7 +3,12 @@ * Author: Stefano Brivio */ +#ifndef PCAP_H +#define PCAP_H + void pcap(char *pkt, size_t len); void pcapm(struct msghdr *mh); void pcapmm(struct mmsghdr *mmh, unsigned int vlen); void pcap_init(struct ctx *c); + +#endif /* PCAP_H */ -- cgit v1.2.3