summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-26 16:18:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-06-26 16:18:46 +0000
commitc9163dc9e49a982b316a7948eeff53932a59cb0d (patch)
tree64a392ae4ddf8c7e61949ea88e6798210ab6ff71 /sys
parentc89def33ca28d213deb1abf55623f82a7e110412 (diff)
do not assume that sys/param.h is pulling in the world; pull in what is
needed by hand.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/stand/boot/exec.c3
-rw-r--r--sys/arch/hppa/stand/cdboot/cdboot.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/stand/boot/exec.c b/sys/arch/hppa/stand/boot/exec.c
index 8dd0c20771f..a6e9896dde1 100644
--- a/sys/arch/hppa/stand/boot/exec.c
+++ b/sys/arch/hppa/stand/boot/exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.c,v 1.4 2004/06/14 00:32:31 deraadt Exp $ */
+/* $OpenBSD: exec.c,v 1.5 2012/06/26 16:18:43 deraadt Exp $ */
/*
* Copyright (c) 2002-2004 Michael Shalayeff
@@ -27,6 +27,7 @@
*/
#include <sys/param.h>
+#include <machine/cpu.h>
#include <machine/pdc.h>
#include "libsa.h"
#include <lib/libsa/loadfile.h>
diff --git a/sys/arch/hppa/stand/cdboot/cdboot.c b/sys/arch/hppa/stand/cdboot/cdboot.c
index c399649008a..e2a6d1baf3e 100644
--- a/sys/arch/hppa/stand/cdboot/cdboot.c
+++ b/sys/arch/hppa/stand/cdboot/cdboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdboot.c,v 1.11 2011/04/17 09:49:48 kettenis Exp $ */
+/* $OpenBSD: cdboot.c,v 1.12 2012/06/26 16:18:45 deraadt Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -34,6 +34,7 @@
#include <lib/libsa/loadfile.h>
#include <dev/cons.h>
#include <machine/pdc.h>
+#include <machine/cpu.h>
#include <stand/boot/bootarg.h>
#include "dev_hppa.h"
#include "cmd.h"