mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
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>
This commit is contained in:
parent
4ca945e9c5
commit
f58bd7f055
14
ChangeLog
14
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>
|
2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/fpu/s_cosf.S: Removed.
|
* sysdeps/x86_64/fpu/s_cosf.S: Removed.
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/format_nss.h>
|
#include <support/format_nss.h>
|
||||||
#include <support/run_diff.h>
|
#include <support/run_diff.h>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/format_nss.h>
|
#include <support/format_nss.h>
|
||||||
#include <support/run_diff.h>
|
#include <support/run_diff.h>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/format_nss.h>
|
#include <support/format_nss.h>
|
||||||
#include <support/run_diff.h>
|
#include <support/run_diff.h>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/format_nss.h>
|
#include <support/format_nss.h>
|
||||||
#include <support/run_diff.h>
|
#include <support/run_diff.h>
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/namespace.h>
|
#include <support/namespace.h>
|
||||||
#include <support/support.h>
|
#include <support/support.h>
|
||||||
|
#include <support/xunistd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <xunistd.h>
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
callback (void *closure)
|
callback (void *closure)
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <support/support.h>
|
#include <support/support.h>
|
||||||
#include <support/xmemstream.h>
|
#include <support/xmemstream.h>
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <resolv.h>
|
#include <resolv.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/support.h>
|
#include <support/support.h>
|
||||||
#include <support/xmemstream.h>
|
#include <support/xmemstream.h>
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <support/support.h>
|
#include <support/support.h>
|
||||||
#include <support/xmemstream.h>
|
#include <support/xmemstream.h>
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <support/support.h>
|
#include <support/support.h>
|
||||||
#include <support/xmemstream.h>
|
#include <support/xmemstream.h>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <xunistd.h>
|
#include <support/xunistd.h>
|
||||||
|
|
||||||
void
|
void
|
||||||
support_write_file_string (const char *path, const char *contents)
|
support_write_file_string (const char *path, const char *contents)
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
License along with the GNU C Library; if not, see
|
License along with the GNU C Library; if not, see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <support/check.h>
|
#include <support/check.h>
|
||||||
#include <support/xdlfcn.h>
|
#include <support/xdlfcn.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user