aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/tst-bug18665-tcp.c1
-rw-r--r--resolv/tst-res_hconf_reorder.c1
-rw-r--r--resolv/tst-resolv-search.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/resolv/tst-bug18665-tcp.c b/resolv/tst-bug18665-tcp.c
index 8ad069c245..4bc0c262b1 100644
--- a/resolv/tst-bug18665-tcp.c
+++ b/resolv/tst-bug18665-tcp.c
@@ -20,6 +20,7 @@
#include <netdb.h>
#include <resolv.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <support/check.h>
#include <support/check_nss.h>
diff --git a/resolv/tst-res_hconf_reorder.c b/resolv/tst-res_hconf_reorder.c
index 73a0bc793f..20e5a5a448 100644
--- a/resolv/tst-res_hconf_reorder.c
+++ b/resolv/tst-res_hconf_reorder.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <dlfcn.h>
diff --git a/resolv/tst-resolv-search.c b/resolv/tst-resolv-search.c
index 53c22973ba..a5406b3b0e 100644
--- a/resolv/tst-resolv-search.c
+++ b/resolv/tst-resolv-search.c
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <resolv.h>
+#include <stdlib.h>
#include <string.h>
#include <support/check.h>
#include <support/check_nss.h>