summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2005-03-07 02:08:46 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2005-03-07 02:08:46 +0000
commita35d4c5b4afa280ac30f5c95e995bda6328b4f9d (patch)
treefcfac86feb55b7f7e49d2d80d4a8d3610d32c5b1 /sys/arch
parent9ee2db8a44b1084b2b07e742f60ccd5563a2d1b2 (diff)
include apm.h only if CONF_HAVE_APM is defined
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/arm/arm32_machdep.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/arm/arm/arm32_machdep.c b/sys/arch/arm/arm/arm32_machdep.c
index cf49c48eaa1..ebcc9ef1bdd 100644
--- a/sys/arch/arm/arm/arm32_machdep.c
+++ b/sys/arch/arm/arm/arm32_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arm32_machdep.c,v 1.8 2005/03/03 22:55:00 uwe Exp $ */
+/* $OpenBSD: arm32_machdep.c,v 1.9 2005/03/07 02:08:45 uwe Exp $ */
/* $NetBSD: arm32_machdep.c,v 1.42 2003/12/30 12:33:15 pk Exp $ */
/*
@@ -62,8 +62,13 @@
#include <arm/katelib.h>
#include <arm/machdep.h>
#include <machine/bootconfig.h>
+#include <machine/conf.h>
+#ifdef CONF_HAVE_APM
#include "apm.h"
+#else
+#define NAPM 0
+#endif
#include "rd.h"
struct vm_map *exec_map = NULL;