]> git.hungrycats.org Git - linux/commitdiff
[PATCH] SElinux compile fix
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:51:58 +0000 (18:51 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:51:58 +0000 (18:51 -0800)
From: Geert Uytterhoeven <geert@linux-m68k.org>

Spinlock code needs <linux/sched.h>

security/selinux/ss/services.c
security/selinux/ss/sidtab.c

index 57f060249ae9b5fdc780347266b81037719e9efe..b2821d6f55672bee1250e71de8e2d0406cf54187 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/spinlock.h>
 #include <linux/errno.h>
 #include <linux/in.h>
+#include <linux/sched.h>
 #include <asm/semaphore.h>
 #include "flask.h"
 #include "avc.h"
index b9f944cb86e9b1691e7f56d595f8b5b4a9ec906e..69e035a6244d59a85351f055eed0f0a028912932 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/errno.h>
+#include <linux/sched.h>
 #include "flask.h"
 #include "security.h"
 #include "sidtab.h"