2008-02-27 21:23:12

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] selinux/ss/services.c should #include <linux/selinux.h>

Every file should include the headers containing the externs for its
global code.

Signed-off-by: Adrian Bunk <[email protected]>

---
eaeb567e2ce03ef3a7c5ed33e35def212ce2899a foobar
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index f374186..29fb216 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -40,6 +40,7 @@
#include <linux/sched.h>
#include <linux/audit.h>
#include <linux/mutex.h>
+#include <linux/selinux.h>
#include <net/netlabel.h>

#include "flask.h"