summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-06-26 16:18:14 +0000
committerderaadt <deraadt@openbsd.org>2012-06-26 16:18:14 +0000
commit64ff29ac1d57ea7599054231e6dee5fdf3d3c59a (patch)
tree7c1a30a36df4330612190931c640ff0b2c844e53
parentsync (diff)
downloadwireguard-openbsd-64ff29ac1d57ea7599054231e6dee5fdf3d3c59a.tar.xz
wireguard-openbsd-64ff29ac1d57ea7599054231e6dee5fdf3d3c59a.zip
param.h (like landisk and alpha before) was still trying to include too
much of the kernel world when it did not need to
-rw-r--r--sys/arch/hppa/include/param.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index 62bc1581785..1009521e5f2 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.41 2011/09/08 03:40:32 guenther Exp $ */
+/* $OpenBSD: param.h,v 1.42 2012/06/26 16:18:14 deraadt Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -23,8 +23,10 @@
* Utah $Hdr: param.h 1.18 94/12/16$
*/
+#ifdef _KERNEL
#include <machine/cpu.h>
#include <machine/intr.h>
+#endif
/*
* Machine dependent constants for PA-RISC.