summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/hostname-check-utf8.c1
-rw-r--r--tests/openssl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/hostname-check-utf8.c b/tests/hostname-check-utf8.c
index 06ce1b7bdf..1ea2aa1705 100644
--- a/tests/hostname-check-utf8.c
+++ b/tests/hostname-check-utf8.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#include <stdlib.h>
#include <string.h>
#include <gnutls/gnutls.h>
#include <gnutls/x509.h>
diff --git a/tests/openssl.c b/tests/openssl.c
index 483611cfc0..b7a16089a8 100644
--- a/tests/openssl.c
+++ b/tests/openssl.c
@@ -25,6 +25,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include "utils.h"