aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-18 17:37:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-18 17:38:22 +0200
commit5ca30a5ad325cc3e252908adf121d31e30b8aa5f (patch)
treeeb5f8e4880a64bb2f7df586f643bd5ffaf70ac2b /src/compat/compat.h
parentqueue: entirely rework parallel system (diff)
downloadwireguard-linux-compat-5ca30a5ad325cc3e252908adf121d31e30b8aa5f.tar.xz
wireguard-linux-compat-5ca30a5ad325cc3e252908adf121d31e30b8aa5f.zip
compat: support RHEL 7.4
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 451078f..28a7956 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -93,7 +93,7 @@ static const struct ipv6_stub_type *ipv6_stub = &ipv6_stub_impl;
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) && IS_ENABLED(CONFIG_IPV6) && !defined(ISOPENSUSE42)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0) && IS_ENABLED(CONFIG_IPV6) && !defined(ISOPENSUSE42) && !defined(ISRHEL7)
#include <net/addrconf.h>
static inline bool ipv6_mod_enabled(void)
{