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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Wednesday, February 27, 2008 - 2:20 pm

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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"

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] selinux/ss/services.c should #include <linux/s ..., Adrian Bunk, (Wed Feb 27, 2:20 pm)