summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/stand/boot/rd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-24 19:20:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-24 19:20:36 +0000
commit6883260fb3a8fee226b5524498c5f01c70ab8993 (patch)
tree3f7d96a1d317e8236d0159255efb2c5a26db7baa /sys/arch/loongson/stand/boot/rd.c
parentc0f3025e7cea13a35f6a19c0caa727aca97d6b16 (diff)
Use sys/param.h to be able to get at DEV_BSIZE
Diffstat (limited to 'sys/arch/loongson/stand/boot/rd.c')
-rw-r--r--sys/arch/loongson/stand/boot/rd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/loongson/stand/boot/rd.c b/sys/arch/loongson/stand/boot/rd.c
index f179342bcf9..c5cd107aa42 100644
--- a/sys/arch/loongson/stand/boot/rd.c
+++ b/sys/arch/loongson/stand/boot/rd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd.c,v 1.3 2011/03/13 00:13:53 deraadt Exp $ */
+/* $OpenBSD: rd.c,v 1.4 2013/03/24 19:20:35 deraadt Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
@@ -16,10 +16,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
+#include <sys/param.h>
#include "libsa.h"
#include <machine/cpu.h>
-#include <machine/param.h>
#include <sys/exec_elf.h>
static off_t rdoffs;