include: pktbuff.h needs stdbool.h
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")
Signed-off-by Duncan Roe <[email protected]>
--- include/libnetfilter_queue/pktbuff.h | 2 ++ 1 file changed, 2 insertions(+)
include/libnetfilter_queue/pktbuff.h +2 -0
@@ -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