about summary refs log tree commit diff
path: root/resolv/tst-resolv-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/tst-resolv-search.c')
-rw-r--r--resolv/tst-resolv-search.c1
1 files changed, 1 insertions, 0 deletions
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>