diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/connman/files/connman-1.31-xtables.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-misc/connman/files/connman-1.31-xtables.patch b/net-misc/connman/files/connman-1.31-xtables.patch index 5fdb6489cef..84f4445e8da 100644 --- a/net-misc/connman/files/connman-1.31-xtables.patch +++ b/net-misc/connman/files/connman-1.31-xtables.patch @@ -30,12 +30,13 @@ #define CHAIN_PREFIX "connman-" --- /dev/null 2016-03-18 06:21:16.372989086 -0700 +++ connman-1.31/include/connman_xtables.h 2016-03-22 21:32:21.349504786 -0700 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,21 @@ +#ifndef CONNMAN_XTABLES_H +#define CONNMAN_XTABLES_H + +#include <linux/version.h> -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) || \ ++ LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) +#include <xtables.h> +#else +#ifdef __USE_MISC |