diff options
author | 2012-06-26 16:18:43 +0000 | |
---|---|---|
committer | 2012-06-26 16:18:43 +0000 | |
commit | 5b194e1f34d3e94f47c341e5b0b25d67bafc1c99 (patch) | |
tree | 8856f6ae52c1aafd43d6f699f465185f31de25fd | |
parent | param.h (like landisk and alpha before) was still trying to include too (diff) | |
download | wireguard-openbsd-5b194e1f34d3e94f47c341e5b0b25d67bafc1c99.tar.xz wireguard-openbsd-5b194e1f34d3e94f47c341e5b0b25d67bafc1c99.zip |
do not assume that sys/param.h is pulling in the world; pull in what is
needed by hand.
-rw-r--r-- | sys/arch/hppa/stand/boot/exec.c | 3 | ||||
-rw-r--r-- | sys/arch/hppa/stand/cdboot/cdboot.c | 3 |
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" |