From 6f15d82999821e482c076bbb799e5dd3f714b703 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 13 Sep 2019 15:08:24 -0400 Subject: compat: support rhel/centos 7.7 Signed-off-by: Jason A. Donenfeld --- src/compat/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat/compat.h') diff --git a/src/compat/compat.h b/src/compat/compat.h index 8979639..34d6d9e 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -90,7 +90,7 @@ (LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 27) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)) || \ (LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 8) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)) || \ (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 40) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)) || \ - (LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 54))) && !defined(ISUBUNTU1404) + (LINUX_VERSION_CODE < KERNEL_VERSION(3, 12, 54))) && !defined(ISUBUNTU1404) && (!defined(ISRHEL7) || RHEL_MINOR < 7) /* TODO: remove < 7 workaround once CentOS 7.7 comes out. */ #include #include #define IP6_ECN_set_ce(a, b) IP6_ECN_set_ce(b) -- cgit v1.2.3