diff options
author | James Morris <jmorris@namei.org> | 2006-11-17 23:01:03 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:24:16 -0500 |
commit | bb22f58087fdf8b617803c9b65bc86c6d26b5115 (patch) | |
tree | ff68f85498cedce8858d44b80d0ae8c65b757056 | |
parent | de64688ffb952a65ddbc5295ccd235d35f292593 (diff) |
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 <jmorris@namei.org>
-rw-r--r-- | security/selinux/include/security.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
8 | #ifndef _SELINUX_SECURITY_H_ | 8 | #ifndef _SELINUX_SECURITY_H_ |
9 | #define _SELINUX_SECURITY_H_ | 9 | #define _SELINUX_SECURITY_H_ |
10 | 10 | ||
11 | #include <linux/skbuff.h> | ||
12 | #include "flask.h" | 11 | #include "flask.h" |
13 | 12 | ||
14 | #define SECSID_NULL 0x00000000 /* unspecified SID */ | 13 | #define SECSID_NULL 0x00000000 /* unspecified SID */ |
@@ -35,6 +34,8 @@ | |||
35 | #define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS | 34 | #define POLICYDB_VERSION_MAX POLICYDB_VERSION_RANGETRANS |
36 | #endif | 35 | #endif |
37 | 36 | ||
37 | struct sk_buff; | ||
38 | |||
38 | extern int selinux_enabled; | 39 | extern int selinux_enabled; |
39 | extern int selinux_mls_enabled; | 40 | extern int selinux_mls_enabled; |
40 | 41 | ||