mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
hurd: fix warning
* resolv/res-close.c: Include <stdlib.h>.
This commit is contained in:
parent
da8168df01
commit
3538a4b6c3
@ -3,6 +3,7 @@
|
|||||||
* sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
|
* sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
|
||||||
* sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
|
* sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
|
||||||
a `c' variable.
|
a `c' variable.
|
||||||
|
* resolv/res-close.c: Include <stdlib.h>.
|
||||||
|
|
||||||
2018-01-27 James Clarke <jrtc27@jrtc27.com>
|
2018-01-27 James Clarke <jrtc27@jrtc27.com>
|
||||||
|
|
||||||
|
@ -86,6 +86,7 @@
|
|||||||
#include <resolv_context.h>
|
#include <resolv_context.h>
|
||||||
#include <resolv_conf.h>
|
#include <resolv_conf.h>
|
||||||
#include <not-cancel.h>
|
#include <not-cancel.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* Close all open sockets. If FREE_ADDR is true, deallocate any
|
/* Close all open sockets. If FREE_ADDR is true, deallocate any
|
||||||
separately allocated name server addresses. */
|
separately allocated name server addresses. */
|
||||||
|
Loading…
Reference in New Issue
Block a user