about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res-close.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/res-close.c b/resolv/res-close.c
index 43b9292857..e02f5afa15 100644
--- a/resolv/res-close.c
+++ b/resolv/res-close.c
@@ -86,6 +86,7 @@
 #include <resolv_context.h>
 #include <resolv_conf.h>
 #include <not-cancel.h>
+#include <stdlib.h>
 
 /* Close all open sockets.  If FREE_ADDR is true, deallocate any
    separately allocated name server addresses.  */