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 <nbd@openwrt.org>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0))
+#include <linux/security.h>
+
#define genl_dump_check_consistent(cb, user_hdr, family)
#define IFF_TX_SKB_SHARING 0x10000 /* The interface supports sharing