Skip to contentSkip to conversation

include: pktbuff.h needs stdbool.h

PATCH New Duncan Roe 1 participant 1 message Jan 3, 2024 netfilter

lore
Share & tools
lore

Duncan Roe

author
#0 lore raw

PATCH 1/1 include: pktbuff.h needs stdbool.h

Without #include <stdbool.h>, compilation will fail if pktbuff.h is included early enough.

Fixes ffa83b5968b5 ("add mangle functions for IPv4/TCP and IPv4/UDP")
---
 include/libnetfilter_queue/pktbuff.h | 2 ++
 1 file changed, 2 insertions(+)
include/libnetfilter_queue/pktbuff.h +2 -0
index a4cc2a1..d3588c7 100644
@@ -1,6 +1,8 @@
 #ifndef _PKTBUFF_H_
 #define _PKTBUFF_H_
 
+#include <stdbool.h>
+
 struct pkt_buff;
 
 struct pkt_buff *pktb_alloc(int family, void *data, size_t len, size_t extra);
Signature · 1 line
2.35.8