summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-12-12 10:05:13 +0000
committeravg <avg@FreeBSD.org>2011-12-12 10:05:13 +0000
commit7d367dba133c7d577cdbe97f7a09c2dddfbd0e5c (patch)
tree95e0370a64b53d1b07c5c0dc6e930aac800f5c1e /sys/security
parent2893f40afd4a20a0f5ee2d4c4b43c956e09f1880 (diff)
downloadFreeBSD-src-7d367dba133c7d577cdbe97f7a09c2dddfbd0e5c.zip
FreeBSD-src-7d367dba133c7d577cdbe97f7a09c2dddfbd0e5c.tar.gz
put sys/systm.h at its proper place or add it if missing
Reported by: lstewart, tinderbox Pointyhat to: avg, attilio MFC after: 1 week MFC with: r228430
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_framework.c2
-rw-r--r--sys/security/mac/mac_priv.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index d4960f9..816bb0b 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -73,6 +73,7 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/condvar.h>
#include <sys/kernel.h>
#include <sys/lock.h>
@@ -81,7 +82,6 @@ __FBSDID("$FreeBSD$");
#include <sys/rmlock.h>
#include <sys/sdt.h>
#include <sys/sx.h>
-#include <sys/systm.h>
#include <sys/sysctl.h>
#include <security/mac/mac_framework.h>
diff --git a/sys/security/mac/mac_priv.c b/sys/security/mac/mac_priv.c
index 537c002..f184a68 100644
--- a/sys/security/mac/mac_priv.c
+++ b/sys/security/mac/mac_priv.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include "opt_mac.h"
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/priv.h>
#include <sys/sdt.h>
OpenPOWER on IntegriCloud