From 0c51ea9ee6ad49b34dadf92798f7109f12cd0490 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 2 Dec 2011 12:12:46 +0100 Subject: [PATCH] compat: fix security_sk_clone dummy backport compile linux/security.h needs to be included before the dummy function overrides it, otherwise the macro that redirects it to the compat version will apply to the kernel function as well, causing multiple conflicting definitions Signed-off-by: Felix Fietkau --- include/linux/compat-3.1.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/compat-3.1.h b/include/linux/compat-3.1.h index 0832183..5b00ac9 100644 --- a/include/linux/compat-3.1.h +++ b/include/linux/compat-3.1.h @@ -5,6 +5,8 @@ #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)) +#include + #define genl_dump_check_consistent(cb, user_hdr, family) #define IFF_TX_SKB_SHARING 0x10000 /* The interface supports sharing -- 2.46.0