From f04dae170525ad46f7db2c5fcbb14f5369a6e125 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 16 Jul 2020 01:46:42 -0600 Subject: compat: rhel 8.3 beta removed nf_nat_core.h Reported-by: Vladimir Benes Signed-off-by: Jason A. Donenfeld --- src/compat/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat/compat.h b/src/compat/compat.h index ea6d624..9e2801b 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -942,7 +942,7 @@ static inline int skb_ensure_writable(struct sk_buff *skb, int write_len) #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && !defined(ISRHEL8) #include #endif static inline void __compat_icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info) -- cgit v1.2.3