summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaja <maja@openbsd.org>2013-06-02 19:08:09 +0000
committermaja <maja@openbsd.org>2013-06-02 19:08:09 +0000
commit2cb806f6ed3c90726ace4478e4075e871a32f965 (patch)
tree2f7e36f424ca57475b58b9a1f8d08d2f5ec27258
parentLet .Do .Dq .Ql .So .Sq generate the correct roff(7) character escape (diff)
downloadwireguard-openbsd-2cb806f6ed3c90726ace4478e4075e871a32f965.tar.xz
wireguard-openbsd-2cb806f6ed3c90726ace4478e4075e871a32f965.zip
Make arm compile again. -moj
-rw-r--r--lib/librthread/arch/arm/_atomic_lock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librthread/arch/arm/_atomic_lock.c b/lib/librthread/arch/arm/_atomic_lock.c
index 6a5956d26d7..14c25935b88 100644
--- a/lib/librthread/arch/arm/_atomic_lock.c
+++ b/lib/librthread/arch/arm/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.4 2013/06/01 20:47:40 tedu Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.5 2013/06/02 19:08:09 maja Exp $ */
/*
* Copyright (c) 2004 Dale Rahn. All rights reserved.
@@ -28,6 +28,7 @@
* Atomic lock for arm
*/
+#include <sys/types.h>
#include <machine/spinlock.h>
int