summaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 16:42:58 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-27 16:43:16 +0100
commit3538a4b6c3f7831f57462bef6b6146638a11b97c (patch)
tree69168e8b396a52965eb162b775f686173d45c9c4 /resolv
parentda8168df01e0b47eb369e5871be8c224690d1cfe (diff)
downloadglibc-3538a4b6c3f7831f57462bef6b6146638a11b97c.tar.gz
hurd: fix warning
* resolv/res-close.c: Include <stdlib.h>.
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. */