aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-07-16 01:46:42 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-07-29 10:14:15 +0200
commitf04dae170525ad46f7db2c5fcbb14f5369a6e125 (patch)
tree26b6fe5516dd890e527a9e92b327fc8f3000e3bb /src/compat/compat.h
parentversion: bump (diff)
downloadwireguard-linux-compat-f04dae170525ad46f7db2c5fcbb14f5369a6e125.tar.xz
wireguard-linux-compat-f04dae170525ad46f7db2c5fcbb14f5369a6e125.zip
compat: rhel 8.3 beta removed nf_nat_core.h
Reported-by: Vladimir Benes <vbenes@redhat.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
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 <net/ipv6.h>
#include <net/icmp.h>
#include <net/netfilter/nf_conntrack.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0) && !defined(ISRHEL8)
#include <net/netfilter/nf_nat_core.h>
#endif
static inline void __compat_icmp_ndo_send(struct sk_buff *skb_in, int type, int code, __be32 info)