summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-09-18 00:19:38 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-09-18 00:19:38 +0000
commitadf61290270897a3cad64e32c9aa6aee34895c05 (patch)
treed7db30d58eb8c27e522ee2c9bc6a7d3f9c0fa98f /lib
parent0ad7c03e99d8c37bd367606426e8d5fd987037d8 (diff)
unbreak the build by including stddef.h for the definition of NULL
fix suggested by and ok guenther@
Diffstat (limited to 'lib')
-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));