Compile fix for "peer secid consolidation for external network labeling"
authorJames Morris <jmorris@namei.org>
Sat, 18 Nov 2006 04:01:03 +0000 (23:01 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:16 +0000 (21:24 -0800)
Use a forward declaration instead of dragging in skbuff.h and
related junk.

Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/include/security.h

index 015f697e925f7b53cc36059f86262ec272cace6f..210eec77e7ff02e8fde7f46b593defcbb214b7b4 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef _SELINUX_SECURITY_H_
 #define _SELINUX_SECURITY_H_
 
-#include <linux/skbuff.h>
 #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;