This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.26.9000-976-gf58bd7f
- From: fw at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 14 Dec 2017 12:49:04 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26.9000-976-gf58bd7f
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f58bd7f055988d367d8118ccbc4cb8c4dbfd9db2 (commit)
from 4ca945e9c5421a174e96ff91eda7fa7482cee8c8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=f58bd7f055988d367d8118ccbc4cb8c4dbfd9db2
commit f58bd7f055988d367d8118ccbc4cb8c4dbfd9db2
Author: Florian Weimer <fweimer@redhat.com>
Date: Thu Dec 14 13:48:56 2017 +0100
support: Simplify compiling most of support/ outside of glibc
Some include files were missing because they are implied by the
in-tree build process.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
diff --git a/ChangeLog b/ChangeLog
index 51f6c0e..49fcee9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2017-12-14 Florian Weimer <fweimer@redhat.com>
+
+ Simplify compiling most of support/ outside of glibc.
+ * support/check_addrinfo.c: Include <string.h>.
+ * support/check_dns_packet.c: Likewise.
+ * support/check_hostent.c: Likewise.
+ * support/support_can_chroot.c: Include <support/xunistd.h>.
+ * support/support_format_addrinfo.c: Include <stdlib.h>
+ * support/support_format_dns_packet.c: Include <stdbool.h>.
+ * support/support_format_hostent.c: Include <stdlib.h>.
+ * support/support_format_netent.c: Likewise.
+ * support/support_write_string.c: Include <support/xunistd.h>.
+ * support/xdlfcn.c: Include <stddef.h>.
+
2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/fpu/s_cosf.S: Removed.
diff --git a/support/check_addrinfo.c b/support/check_addrinfo.c
index 55895ac..c47f105 100644
--- a/support/check_addrinfo.c
+++ b/support/check_addrinfo.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <support/check.h>
#include <support/format_nss.h>
#include <support/run_diff.h>
diff --git a/support/check_dns_packet.c b/support/check_dns_packet.c
index d2a31be..6d14bd9 100644
--- a/support/check_dns_packet.c
+++ b/support/check_dns_packet.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <support/check.h>
#include <support/format_nss.h>
#include <support/run_diff.h>
diff --git a/support/check_hostent.c b/support/check_hostent.c
index 890d672..47fb8bc 100644
--- a/support/check_hostent.c
+++ b/support/check_hostent.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <support/check.h>
#include <support/format_nss.h>
#include <support/run_diff.h>
diff --git a/support/check_netent.c b/support/check_netent.c
index daa3083..80b6930 100644
--- a/support/check_netent.c
+++ b/support/check_netent.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <support/check.h>
#include <support/format_nss.h>
#include <support/run_diff.h>
diff --git a/support/support_can_chroot.c b/support/support_can_chroot.c
index 0dfd2de..a462753 100644
--- a/support/support_can_chroot.c
+++ b/support/support_can_chroot.c
@@ -21,9 +21,9 @@
#include <support/check.h>
#include <support/namespace.h>
#include <support/support.h>
+#include <support/xunistd.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <xunistd.h>
static void
callback (void *closure)
diff --git a/support/support_format_addrinfo.c b/support/support_format_addrinfo.c
index eedb030..daf335f 100644
--- a/support/support_format_addrinfo.c
+++ b/support/support_format_addrinfo.c
@@ -21,6 +21,7 @@
#include <arpa/inet.h>
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <support/support.h>
#include <support/xmemstream.h>
diff --git a/support/support_format_dns_packet.c b/support/support_format_dns_packet.c
index 2992c57..e5ef1aa 100644
--- a/support/support_format_dns_packet.c
+++ b/support/support_format_dns_packet.c
@@ -20,6 +20,7 @@
#include <arpa/inet.h>
#include <resolv.h>
+#include <stdbool.h>
#include <support/check.h>
#include <support/support.h>
#include <support/xmemstream.h>
diff --git a/support/support_format_hostent.c b/support/support_format_hostent.c
index 88c85ec..0aac179 100644
--- a/support/support_format_hostent.c
+++ b/support/support_format_hostent.c
@@ -21,6 +21,7 @@
#include <arpa/inet.h>
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <support/support.h>
#include <support/xmemstream.h>
diff --git a/support/support_format_netent.c b/support/support_format_netent.c
index 020f572..be8f172 100644
--- a/support/support_format_netent.c
+++ b/support/support_format_netent.c
@@ -20,6 +20,7 @@
#include <arpa/inet.h>
#include <stdio.h>
+#include <stdlib.h>
#include <support/support.h>
#include <support/xmemstream.h>
diff --git a/support/support_write_file_string.c b/support/support_write_file_string.c
index 48e8959..4873653 100644
--- a/support/support_write_file_string.c
+++ b/support/support_write_file_string.c
@@ -19,7 +19,7 @@
#include <fcntl.h>
#include <string.h>
#include <support/check.h>
-#include <xunistd.h>
+#include <support/xunistd.h>
void
support_write_file_string (const char *path, const char *contents)
diff --git a/support/xdlfcn.c b/support/xdlfcn.c
index 6e39799..05966c4 100644
--- a/support/xdlfcn.c
+++ b/support/xdlfcn.c
@@ -16,6 +16,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stddef.h>
#include <support/check.h>
#include <support/xdlfcn.h>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 14 ++++++++++++++
support/check_addrinfo.c | 1 +
support/check_dns_packet.c | 1 +
support/check_hostent.c | 1 +
support/check_netent.c | 1 +
support/support_can_chroot.c | 2 +-
support/support_format_addrinfo.c | 1 +
support/support_format_dns_packet.c | 1 +
support/support_format_hostent.c | 1 +
support/support_format_netent.c | 1 +
support/support_write_file_string.c | 2 +-
support/xdlfcn.c | 1 +
12 files changed, 25 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources