summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2019-05-23 02:08:34 +0000
committerbcook <bcook@openbsd.org>2019-05-23 02:08:34 +0000
commit26bdc1a32b2f91ad3ea783b1e8bccce2f85eb6a3 (patch)
treec1a5296b80288412e202f2d925fd5488e2074a84 /lib
parentFormatting fixes. (diff)
downloadwireguard-openbsd-26bdc1a32b2f91ad3ea783b1e8bccce2f85eb6a3.tar.xz
wireguard-openbsd-26bdc1a32b2f91ad3ea783b1e8bccce2f85eb6a3.zip
add stdlib.h for reallocarray
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509spki.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509spki.c b/lib/libcrypto/x509/x509spki.c
index 3a1c37cd864..66bbd1e0362 100644
--- a/lib/libcrypto/x509/x509spki.c
+++ b/lib/libcrypto/x509/x509spki.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509spki.c,v 1.13 2017/01/29 17:49:23 beck Exp $ */
+/* $OpenBSD: x509spki.c,v 1.14 2019/05/23 02:08:34 bcook Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
@@ -57,6 +57,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <openssl/err.h>