From: James Morris Date: Sat, 18 Nov 2006 04:01:03 +0000 (-0500) Subject: Compile fix for "peer secid consolidation for external network labeling" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb22f58087fdf8b617803c9b65bc86c6d26b5115;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Compile fix for "peer secid consolidation for external network labeling" Use a forward declaration instead of dragging in skbuff.h and related junk. Signed-off-by: James Morris --- diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h index 015f697e925f..210eec77e7ff 100644 --- a/security/selinux/include/security.h +++ b/security/selinux/include/security.h @@ -8,7 +8,6 @@ #ifndef _SELINUX_SECURITY_H_ #define _SELINUX_SECURITY_H_ -#include #include "flask.h" #define SECSID_NULL 0x00000000 /* unspecified SID */ @@ -35,6 +34,8 @@ #define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS #endif +struct sk_buff; + extern int selinux_enabled; extern int selinux_mls_enabled;