summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-08 13:06:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-08 13:06:59 +0000
commit14dfbe8ace6e232e7e9ec867f5e362000c08665f (patch)
tree316b537993e7988e2578a887a8810bdcb0943ac6 /sys
parent3b1b289478793ce7bbe3e3f6a7c11fbb8cda61cf (diff)
A few missing sys/systm.h includes. Soon the universes dragged in via
uvm_extern.h, uvm_param.h, and sysctl.h will no longer gaurantee that _KERNEL code gets it.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/p4tcc.c3
-rw-r--r--sys/arch/i386/i386/powernow.c3
-rw-r--r--sys/arch/macppc/dev/dfs.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/p4tcc.c b/sys/arch/i386/i386/p4tcc.c
index cf5ddad8ab4..7b983134e41 100644
--- a/sys/arch/i386/i386/p4tcc.c
+++ b/sys/arch/i386/i386/p4tcc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p4tcc.c,v 1.17 2010/04/20 22:05:41 tedu Exp $ */
+/* $OpenBSD: p4tcc.c,v 1.18 2014/07/08 13:06:58 deraadt Exp $ */
/*
* Copyright (c) 2003 Ted Unangst
* All rights reserved.
@@ -37,6 +37,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
diff --git a/sys/arch/i386/i386/powernow.c b/sys/arch/i386/i386/powernow.c
index bf20f220e32..7ef3bd51369 100644
--- a/sys/arch/i386/i386/powernow.c
+++ b/sys/arch/i386/i386/powernow.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: powernow.c,v 1.4 2010/04/20 22:05:41 tedu Exp $ */
+/* $OpenBSD: powernow.c,v 1.5 2014/07/08 13:06:58 deraadt Exp $ */
/*
* Copyright (c) 2004 Ted Unangst
* All rights reserved.
@@ -22,6 +22,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
diff --git a/sys/arch/macppc/dev/dfs.c b/sys/arch/macppc/dev/dfs.c
index d4ccf584366..c92725f5bce 100644
--- a/sys/arch/macppc/dev/dfs.c
+++ b/sys/arch/macppc/dev/dfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dfs.c,v 1.2 2013/10/31 08:26:12 mpi Exp $ */
+/* $OpenBSD: dfs.c,v 1.3 2014/07/08 13:06:58 deraadt Exp $ */
/*
* Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org>
*
@@ -16,6 +16,7 @@
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/sysctl.h>