summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2017-08-25 23:45:44 +0300
committerAlon Bar-Lev <alon.barlev@gmail.com>2017-08-26 01:26:25 +0300
commit73d88246358d0e4bbd891104a91a72549bcff879 (patch)
tree852d09b4dc5d546a7f402e5ad37b3704e9ea357c
parent2b29963b53a5c5df48eecb0aef68cf0239e89706 (diff)
downloadgnutls-73d88246358d0e4bbd891104a91a72549bcff879.tar.gz
tests: warning: implicit declaration of function
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
-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"