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
commit52f73f500a3d733d2daaf44ea1a10e726672289d (patch)
tree9d13f07218514ed0c6559edc927c999b9bca3fd7 /src/compat/compat.h
parentqueue: entirely rework parallel system (diff)
downloadwireguard-monolithic-historical-52f73f500a3d733d2daaf44ea1a10e726672289d.tar.xz
wireguard-monolithic-historical-52f73f500a3d733d2daaf44ea1a10e726672289d.zip
compat: support RHEL 7.4
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)
{