summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2016-09-18 00:19:37 +0000
committerjsg <jsg@openbsd.org>2016-09-18 00:19:37 +0000
commit5e791ca0da9c0e489859220401acf2c4ec5a2c60 (patch)
tree263625b014ba491da2f6975c415acb8907aa9390
parentFor now, force soft-float; our kernel doesn't support saving the FPU state yet. (diff)
downloadwireguard-openbsd-5e791ca0da9c0e489859220401acf2c4ec5a2c60.tar.xz
wireguard-openbsd-5e791ca0da9c0e489859220401acf2c4ec5a2c60.zip
unbreak the build by including stddef.h for the definition of NULL
fix suggested by and ok guenther@
-rw-r--r--lib/libc/arch/arm/dlfcn/exidx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/arm/dlfcn/exidx.c b/lib/libc/arch/arm/dlfcn/exidx.c
index 5f012edbc0a..ede7358345f 100644
--- a/lib/libc/arch/arm/dlfcn/exidx.c
+++ b/lib/libc/arch/arm/dlfcn/exidx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exidx.c,v 1.1 2016/09/17 20:13:48 kettenis Exp $ */
+/* $OpenBSD: exidx.c,v 1.2 2016/09/18 00:19:37 jsg Exp $ */
/*
* Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
*
@@ -17,6 +17,7 @@
#include <sys/types.h>
#include <link.h>
+#include <stddef.h>
void *dl_unwind_find_exidx(const void *pc, int *pcount) __attribute__((weak));