This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited 3/7] hurd: fix warning
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Date: Sat, 27 Jan 2018 16:56:25 +0100
- Subject: [hurd,commited 3/7] hurd: fix warning
- Authentication-results: sourceware.org; auth=none
- References: <20180127155629.23644-1-samuel.thibault@ens-lyon.org>
* resolv/res-close.c: Include <stdlib.h>.
---
ChangeLog | 1 +
resolv/res-close.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index d923c6444f..9bdd0a48bc 100644
--- 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>
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. */
--
2.15.1