From 4213ef0109a388311763542b4b0cf77f1d01777e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 29 Jul 2020 09:54:05 +0200 Subject: compat: add missing headers for ip_tunnel_parse_protocol Signed-off-by: Jason A. Donenfeld --- src/compat/compat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compat/compat.h') diff --git a/src/compat/compat.h b/src/compat/compat.h index 7236cfe..fde263c 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -1048,6 +1048,8 @@ static inline void skb_reset_redirect(struct sk_buff *skb) #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0) #include +#include +#include static inline __be16 ip_tunnel_parse_protocol(const struct sk_buff *skb) { if (skb_network_header(skb) >= skb->head && -- cgit v1.2.3