summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/dev/zaurus_apm.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-11 05:07:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-11 05:07:26 +0000
commitc35bcf18541bdab5fa017c8b3dc3389730cb3576 (patch)
tree7632c526458378239e36c238bcefcc96855152e2 /sys/arch/zaurus/dev/zaurus_apm.c
parentd7dbc4c4b5a509ac6d3ab1e946e4ccf836d62b13 (diff)
Don't rely in <sys/lock.h> bringing <sys/rwlock.h>.
Diffstat (limited to 'sys/arch/zaurus/dev/zaurus_apm.c')
-rw-r--r--sys/arch/zaurus/dev/zaurus_apm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_apm.c b/sys/arch/zaurus/dev/zaurus_apm.c
index b1a5e4c3f8b..2624f0a4863 100644
--- a/sys/arch/zaurus/dev/zaurus_apm.c
+++ b/sys/arch/zaurus/dev/zaurus_apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_apm.c,v 1.31 2015/02/07 03:58:28 deraadt Exp $ */
+/* $OpenBSD: zaurus_apm.c,v 1.32 2015/02/11 05:07:25 miod Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -27,6 +27,7 @@
#include <sys/mutex.h>
#include <sys/lock.h>
#include <sys/reboot.h>
+#include <sys/rwlock.h>
#include <dev/rndvar.h>
#include <arm/xscale/pxa2x0reg.h>