summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:52:26 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:52:26 +0000
commitfce464d984c43e6f9b5f333bf2239d604bce2cd7 (patch)
treea1df890a30547246bdf3b9e18ecc90435ac0e21b /libexec/ld.so
parente46509c522d4e503e76b2cddea7919ebf023f77f (diff)
Pull in <stddef.h> for NULL
(not stdio, because ld.so has a reduced library behind it)
Diffstat (limited to 'libexec/ld.so')
-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);