summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-26 16:18:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-26 16:18:15 +0000
commitc89def33ca28d213deb1abf55623f82a7e110412 (patch)
tree17087e7008e3b9471db44401c09f30d2b7a8fc38 /sys/arch/hppa
parent4f51dbde5940aca7cebc8f82ad60cddc6bc11621 (diff)
param.h (like landisk and alpha before) was still trying to include too
much of the kernel world when it did not need to
Diffstat (limited to 'sys/arch/hppa')
-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.