]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: fix warning
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jan 2018 15:42:58 +0000 (16:42 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jan 2018 15:43:16 +0000 (16:43 +0100)
* resolv/res-close.c: Include <stdlib.h>.

ChangeLog
resolv/res-close.c

index d923c6444f0870f48bb6a73356834ec684688634..9bdd0a48bc9423d1347db60b10781e7049b81743 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
        * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
        a `c' variable.
+       * resolv/res-close.c: Include <stdlib.h>.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
index 43b92928579544183d58ab453dc53a6f7bd638db..e02f5afa1597aee09eaa971a8b8f889726c436d4 100644 (file)
@@ -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.  */