diff options
author | 2014-07-08 13:06:58 +0000 | |
---|---|---|
committer | 2014-07-08 13:06:58 +0000 | |
commit | dc65b4333023a2a3e62fb95b044a0a3c31fbdeb9 (patch) | |
tree | 6b42f4cff545aa047bc43fdc86360ae98bceb847 | |
parent | These do not need the extremely poorly named uvm/uvm_extern.h (which (diff) | |
download | wireguard-openbsd-dc65b4333023a2a3e62fb95b044a0a3c31fbdeb9.tar.xz wireguard-openbsd-dc65b4333023a2a3e62fb95b044a0a3c31fbdeb9.zip |
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.
-rw-r--r-- | sys/arch/i386/i386/p4tcc.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/powernow.c | 3 | ||||
-rw-r--r-- | sys/arch/macppc/dev/dfs.c | 3 |
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> |