summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 03:52:25 +0000
committerguenther <guenther@openbsd.org>2016-08-27 03:52:25 +0000
commitbe0270b321e4ebff0060b4ba233ad615de87c677 (patch)
treeedd3fadccb118881bd42994863ea897c7ee24206
parentPull in <sys/time.h> for struct timespec (diff)
downloadwireguard-openbsd-be0270b321e4ebff0060b4ba233ad615de87c677.tar.xz
wireguard-openbsd-be0270b321e4ebff0060b4ba233ad615de87c677.zip
Pull in <stddef.h> for NULL
(not stdio, because ld.so has a reduced library behind it)
-rw-r--r--libexec/ld.so/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/util.h b/libexec/ld.so/util.h
index 323a2246f42..6c80ad8855b 100644
--- a/libexec/ld.so/util.h
+++ b/libexec/ld.so/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.27 2016/08/12 20:39:01 deraadt Exp $ */
+/* $OpenBSD: util.h,v 1.28 2016/08/27 03:52:25 guenther Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -33,6 +33,7 @@
#include <sys/utsname.h>
#include <stdarg.h>
+#include <stddef.h> /* for NULL */
void *_dl_malloc(size_t size);
void *_dl_calloc(size_t nmemb, const size_t size);