From: Ryan S. Arnold Date: Wed, 1 May 2013 15:46:34 +0000 (-0500) Subject: Add #include for uint[32|64]_t usage (except installed headers). X-Git-Tag: glibc-2.18~243 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e054f494306530720114b321b3d97ca2f397cbbb;p=thirdparty%2Fglibc.git Add #include for uint[32|64]_t usage (except installed headers). --- diff --git a/ChangeLog b/ChangeLog index 6d5e02ab38c..1fe59a3d5e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,200 @@ +2013-05-16 Ryan S. Arnold + + * crypt/sha512-block.c: Add missing #include due to + uint64_t or uint32_t usage. + * crypt/sha256-block.c: Likewise. + * crypt/sha256-crypt.c: Likewise. + * crypt/sha256.c: Likewise. + * crypt/sha512-block.c: Likewise. + * crypt/sha512-crypt.c: Likewise. + * crypt/sha512.c: Likewise. + * debug/backtrace-tst.c: Likewise. + * debug/pcprofiledump.c: Likewise. + * elf/cache.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/skeleton.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/cp737.h: Likewise. + * iconvdata/cp775.h: Likewise. + * iconvdata/ibm1008.h: Likewise. + * iconvdata/ibm1025.h: Likewise. + * iconvdata/ibm1046.h: Likewise. + * iconvdata/ibm1097.h: Likewise. + * iconvdata/ibm1112.h: Likewise. + * iconvdata/ibm1122.h: Likewise. + * iconvdata/ibm1123.h: Likewise. + * iconvdata/ibm1124.h: Likewise. + * iconvdata/ibm1129.h: Likewise. + * iconvdata/ibm1130.h: Likewise. + * iconvdata/ibm1132.h: Likewise. + * iconvdata/ibm1133.h: Likewise. + * iconvdata/ibm1137.h: Likewise. + * iconvdata/ibm1140.h: Likewise. + * iconvdata/ibm1141.h: Likewise. + * iconvdata/ibm1142.h: Likewise. + * iconvdata/ibm1143.h: Likewise. + * iconvdata/ibm1144.h: Likewise. + * iconvdata/ibm1145.h: Likewise. + * iconvdata/ibm1146.h: Likewise. + * iconvdata/ibm1147.h: Likewise. + * iconvdata/ibm1148.h: Likewise. + * iconvdata/ibm1149.h: Likewise. + * iconvdata/ibm1153.h: Likewise. + * iconvdata/ibm1154.h: Likewise. + * iconvdata/ibm1155.h: Likewise. + * iconvdata/ibm1156.h: Likewise. + * iconvdata/ibm1157.h: Likewise. + * iconvdata/ibm1158.h: Likewise. + * iconvdata/ibm1160.h: Likewise. + * iconvdata/ibm1161.h: Likewise. + * iconvdata/ibm1162.h: Likewise. + * iconvdata/ibm1163.h: Likewise. + * iconvdata/ibm1164.h: Likewise. + * iconvdata/ibm1166.h: Likewise. + * iconvdata/ibm1167.h: Likewise. + * iconvdata/ibm12712.h: Likewise. + * iconvdata/ibm1390.h: Likewise. + * iconvdata/ibm1399.h: Likewise. + * iconvdata/ibm16804.h: Likewise. + * iconvdata/ibm4517.h: Likewise. + * iconvdata/ibm4899.h: Likewise. + * iconvdata/ibm4909.h: Likewise. + * iconvdata/ibm4971.h: Likewise. + * iconvdata/ibm5347.h: Likewise. + * iconvdata/ibm803.h: Likewise. + * iconvdata/ibm856.h: Likewise. + * iconvdata/ibm901.h: Likewise. + * iconvdata/ibm902.h: Likewise. + * iconvdata/ibm9030.h: Likewise. + * iconvdata/ibm9066.h: Likewise. + * iconvdata/ibm921.h: Likewise. + * iconvdata/ibm922.h: Likewise. + * iconvdata/ibm9448.h: Likewise. + * iconvdata/isiri-3342.h: Likewise. + * iconvdata/jis0201.h: Likewise. + * include/link.h: Likewise. + * include/netdb.h: Likewise. + * inet/check_native.c: Likewise. + * inet/check_pf.c: Likewise. + * inet/getipv4sourcefilter.c: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getsourcefilter.c: Likewise. + * inet/htonl.c: Likewise. + * inet/setipv4sourcefilter.c: Likewise. + * inet/setsourcefilter.c: Likewise. + * inet/test-inet6_opt.c: Likewise. + * inet/tst-network.c: Likewise. + * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. + * locale/C-time.c: Likewise. + * locale/C-translit.h: Likewise. + * locale/loadarchive.c: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * malloc/memusage.c: Likewise. + * malloc/memusagestat.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_hash.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * nscd/nscd_helper.c: Likewise. + * nscd/servicescache.c: Likewise. + * nss/makedb.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-initgroups.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + * posix/bug-regex5.c: Likewise. + * posix/fnmatch_loop.c: Likewise. + * posix/regcomp.c: Likewise. + * posix/regexec.c: Likewise. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + * posix/tst-rfc3484.c: Likewise. + * resolv/nss_dns/dns-canon.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/tst-aton.c: Likewise. + * stdlib/cxa_atexit.c: Likewise. + * stdlib/cxa_finalize.c: Likewise. + * stdlib/gen-fpioconst.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * string/tst-endian.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_intXX_t.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/memusage.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/powerpc/fpu/e_hypot.c: Likewise. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/test-gettimebase.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise. + * sysdeps/x86_64/dl-tls.h: Likewise. + * sysdeps/x86_64/dl-tlsdesc.h: Likewise. + * time/alt_digit.c: Likewise. + * time/era.c: Likewise. + * wcsmbs/tst-c16c32-1.c: Likewise. + 2013-05-16 Joseph Myers * math/libm-test.inc (struct test_sincos_data): New type. diff --git a/crypt/sha256-block.c b/crypt/sha256-block.c index a163e25865c..8a77096999e 100644 --- a/crypt/sha256-block.c +++ b/crypt/sha256-block.c @@ -1,3 +1,5 @@ +#include + /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 64 == 0. */ void diff --git a/crypt/sha256-crypt.c b/crypt/sha256-crypt.c index 334f572b10e..c114a534ab1 100644 --- a/crypt/sha256-crypt.c +++ b/crypt/sha256-crypt.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "sha256.h" diff --git a/crypt/sha256.c b/crypt/sha256.c index 9aa222b7d83..8fb7d476718 100644 --- a/crypt/sha256.c +++ b/crypt/sha256.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "sha256.h" diff --git a/crypt/sha512-block.c b/crypt/sha512-block.c index e7c5cfd7f5c..c542db1c9cb 100644 --- a/crypt/sha512-block.c +++ b/crypt/sha512-block.c @@ -1,3 +1,5 @@ +#include + /* Process LEN bytes of BUFFER, accumulating context into CTX. It is assumed that LEN % 128 == 0. */ void diff --git a/crypt/sha512-crypt.c b/crypt/sha512-crypt.c index 6541a9dbcd5..e09ae4106b7 100644 --- a/crypt/sha512-crypt.c +++ b/crypt/sha512-crypt.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "sha512.h" diff --git a/crypt/sha512.c b/crypt/sha512.c index db17ff46710..be20bcc8222 100644 --- a/crypt/sha512.c +++ b/crypt/sha512.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "sha512.h" diff --git a/debug/backtrace-tst.c b/debug/backtrace-tst.c index ce80685bf8f..cc46c33c3cf 100644 --- a/debug/backtrace-tst.c +++ b/debug/backtrace-tst.c @@ -2,6 +2,7 @@ #include #include #include +#include static int diff --git a/debug/pcprofiledump.c b/debug/pcprofiledump.c index 43ae347d5ee..ce6096de06a 100644 --- a/debug/pcprofiledump.c +++ b/debug/pcprofiledump.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "../version.h" diff --git a/elf/cache.c b/elf/cache.c index 699550bb602..9bf261cd298 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/elf/dl-cache.c b/elf/dl-cache.c index 030fdcaffea..0b68d18b93d 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -22,7 +22,7 @@ #include #include #include - +#include #include <_itoa.h> #ifndef _DL_PLATFORMS_COUNT diff --git a/elf/dl-misc.c b/elf/dl-misc.c index e0e105b88f7..5fc13a44a47 100644 --- a/elf/dl-misc.c +++ b/elf/dl-misc.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/elf/dl-profile.c b/elf/dl-profile.c index c3faeba4427..9034be229a8 100644 --- a/elf/dl-profile.c +++ b/elf/dl-profile.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/elf/dl-support.c b/elf/dl-support.c index 7a55b82e340..b3ab9560ad7 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 340c132a833..13f262d65c7 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include diff --git a/elf/sprof.c b/elf/sprof.c index 5c70ec04737..60f310f47a2 100644 --- a/elf/sprof.c +++ b/elf/sprof.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/iconv/dummy-repertoire.c b/iconv/dummy-repertoire.c index b32a754783b..a7ca1f017bb 100644 --- a/iconv/dummy-repertoire.c +++ b/iconv/dummy-repertoire.c @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ +#include + /* For iconv we don't have to handle repertoire maps. Provide dummy definitions to allow the use of linereader.c unchanged. */ #include diff --git a/iconv/iconv_charmap.c b/iconv/iconv_charmap.c index 745adcc510a..56f156e1177 100644 --- a/iconv/iconv_charmap.c +++ b/iconv/iconv_charmap.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff --git a/iconv/skeleton.c b/iconv/skeleton.c index c8b14454e95..45beb06d345 100644 --- a/iconv/skeleton.c +++ b/iconv/skeleton.c @@ -144,6 +144,7 @@ #endif #include +#include #ifndef DL_CALL_FCT # define DL_CALL_FCT(fct, args) fct args diff --git a/iconvdata/8bit-generic.c b/iconvdata/8bit-generic.c index 79a398925bc..c789dc6b2fc 100644 --- a/iconvdata/8bit-generic.c +++ b/iconvdata/8bit-generic.c @@ -18,6 +18,7 @@ . */ #include +#include #define FROM_LOOP from_generic #define TO_LOOP to_generic diff --git a/iconvdata/cp737.h b/iconvdata/cp737.h index faf3f104852..1796626a86a 100644 --- a/iconvdata/cp737.h +++ b/iconvdata/cp737.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + /* Table to map to UCS4. It can be generated using (I know, this is a useless use of cat, but the linebreak requires it): diff --git a/iconvdata/cp775.h b/iconvdata/cp775.h index 13fe5deaf32..c7e60110585 100644 --- a/iconvdata/cp775.h +++ b/iconvdata/cp775.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + /* Table to map to UCS4. It can be generated using (I know, this is a useless use of cat, but the linebreak requires it): diff --git a/iconvdata/ibm1008.h b/iconvdata/ibm1008.h index 800816f5d73..57232a579f9 100644 --- a/iconvdata/ibm1008.h +++ b/iconvdata/ibm1008.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1025.h b/iconvdata/ibm1025.h index da2cf1cef77..fc58a37ca19 100644 --- a/iconvdata/ibm1025.h +++ b/iconvdata/ibm1025.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1046.h b/iconvdata/ibm1046.h index 7c103b408dd..80d1e59795d 100644 --- a/iconvdata/ibm1046.h +++ b/iconvdata/ibm1046.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1097.h b/iconvdata/ibm1097.h index 34a30884714..3fe80467167 100644 --- a/iconvdata/ibm1097.h +++ b/iconvdata/ibm1097.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1112.h b/iconvdata/ibm1112.h index a58486332c5..f5eca92270b 100644 --- a/iconvdata/ibm1112.h +++ b/iconvdata/ibm1112.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1122.h b/iconvdata/ibm1122.h index ccb14278179..30d7a2a7392 100644 --- a/iconvdata/ibm1122.h +++ b/iconvdata/ibm1122.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1123.h b/iconvdata/ibm1123.h index 6a30f77f940..28e45856816 100644 --- a/iconvdata/ibm1123.h +++ b/iconvdata/ibm1123.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1124.h b/iconvdata/ibm1124.h index 4f75b335069..2393fd75e9f 100644 --- a/iconvdata/ibm1124.h +++ b/iconvdata/ibm1124.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1129.h b/iconvdata/ibm1129.h index c1cdcd670da..94011fbe02e 100644 --- a/iconvdata/ibm1129.h +++ b/iconvdata/ibm1129.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1130.h b/iconvdata/ibm1130.h index b7c9d64ecd5..101c9bcc5e6 100644 --- a/iconvdata/ibm1130.h +++ b/iconvdata/ibm1130.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1132.h b/iconvdata/ibm1132.h index e98faa2306a..7e38be1a8c4 100644 --- a/iconvdata/ibm1132.h +++ b/iconvdata/ibm1132.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1133.h b/iconvdata/ibm1133.h index 46fecf19e3b..35e8dd27686 100644 --- a/iconvdata/ibm1133.h +++ b/iconvdata/ibm1133.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1137.h b/iconvdata/ibm1137.h index 8b80092e93e..22051fa2f65 100644 --- a/iconvdata/ibm1137.h +++ b/iconvdata/ibm1137.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1140.h b/iconvdata/ibm1140.h index b4ede7680f7..733298217a0 100644 --- a/iconvdata/ibm1140.h +++ b/iconvdata/ibm1140.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1141.h b/iconvdata/ibm1141.h index ca3bfeb8c3d..ec2ec6b5b7c 100644 --- a/iconvdata/ibm1141.h +++ b/iconvdata/ibm1141.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1142.h b/iconvdata/ibm1142.h index f9236798e63..e2a54afe32d 100644 --- a/iconvdata/ibm1142.h +++ b/iconvdata/ibm1142.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1143.h b/iconvdata/ibm1143.h index faec48b5f84..d64514ba1d1 100644 --- a/iconvdata/ibm1143.h +++ b/iconvdata/ibm1143.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1144.h b/iconvdata/ibm1144.h index 5e00b114a24..63632dcaa43 100644 --- a/iconvdata/ibm1144.h +++ b/iconvdata/ibm1144.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1145.h b/iconvdata/ibm1145.h index 41a92bfa91b..771cea77886 100644 --- a/iconvdata/ibm1145.h +++ b/iconvdata/ibm1145.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1146.h b/iconvdata/ibm1146.h index 3d071cfdf4c..543f87fea45 100644 --- a/iconvdata/ibm1146.h +++ b/iconvdata/ibm1146.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1147.h b/iconvdata/ibm1147.h index 30dd442e185..dacf88c62d8 100644 --- a/iconvdata/ibm1147.h +++ b/iconvdata/ibm1147.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1148.h b/iconvdata/ibm1148.h index ea135f633d9..1f9de887b9c 100644 --- a/iconvdata/ibm1148.h +++ b/iconvdata/ibm1148.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1149.h b/iconvdata/ibm1149.h index 2fe222cb6ee..a86aa247f42 100644 --- a/iconvdata/ibm1149.h +++ b/iconvdata/ibm1149.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1153.h b/iconvdata/ibm1153.h index f61861edbbc..df248cf2fa0 100644 --- a/iconvdata/ibm1153.h +++ b/iconvdata/ibm1153.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1154.h b/iconvdata/ibm1154.h index 253af803292..24f5c05150f 100644 --- a/iconvdata/ibm1154.h +++ b/iconvdata/ibm1154.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1155.h b/iconvdata/ibm1155.h index 4ac78732c5e..1138d8b972f 100644 --- a/iconvdata/ibm1155.h +++ b/iconvdata/ibm1155.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1156.h b/iconvdata/ibm1156.h index 233f6809e10..547751ef3f0 100644 --- a/iconvdata/ibm1156.h +++ b/iconvdata/ibm1156.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1157.h b/iconvdata/ibm1157.h index eefcb71fe94..c7c021c04e2 100644 --- a/iconvdata/ibm1157.h +++ b/iconvdata/ibm1157.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1158.h b/iconvdata/ibm1158.h index e69fa882352..e569062bbe9 100644 --- a/iconvdata/ibm1158.h +++ b/iconvdata/ibm1158.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1160.h b/iconvdata/ibm1160.h index c7fd40f0c7e..78f7baa502f 100644 --- a/iconvdata/ibm1160.h +++ b/iconvdata/ibm1160.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1161.h b/iconvdata/ibm1161.h index 0a95ace5828..8b95356a9cc 100644 --- a/iconvdata/ibm1161.h +++ b/iconvdata/ibm1161.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1162.h b/iconvdata/ibm1162.h index c791e64e6c5..910a5a9e6b0 100644 --- a/iconvdata/ibm1162.h +++ b/iconvdata/ibm1162.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1163.h b/iconvdata/ibm1163.h index 6ffa4e3acec..541c6312be8 100644 --- a/iconvdata/ibm1163.h +++ b/iconvdata/ibm1163.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1164.h b/iconvdata/ibm1164.h index 293c49c0ab2..70902578cae 100644 --- a/iconvdata/ibm1164.h +++ b/iconvdata/ibm1164.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1166.h b/iconvdata/ibm1166.h index da239a17e90..a8faf9add65 100644 --- a/iconvdata/ibm1166.h +++ b/iconvdata/ibm1166.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1167.h b/iconvdata/ibm1167.h index 041e08ed694..f2de81876a5 100644 --- a/iconvdata/ibm1167.h +++ b/iconvdata/ibm1167.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm12712.h b/iconvdata/ibm12712.h index ac81814247a..92765677f7b 100644 --- a/iconvdata/ibm12712.h +++ b/iconvdata/ibm12712.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm1390.h b/iconvdata/ibm1390.h index 6cd15f69b19..5f2841e08a2 100644 --- a/iconvdata/ibm1390.h +++ b/iconvdata/ibm1390.h @@ -20,6 +20,8 @@ #ifndef _IBM1390_H #define _IBM1390_H 1 +#include + struct gap { uint32_t start; diff --git a/iconvdata/ibm1399.h b/iconvdata/ibm1399.h index 94e3ebe110a..323482af696 100644 --- a/iconvdata/ibm1399.h +++ b/iconvdata/ibm1399.h @@ -20,6 +20,8 @@ #ifndef _IBM1399_H #define _IBM1399_H 1 +#include + struct gap { uint32_t start; diff --git a/iconvdata/ibm16804.h b/iconvdata/ibm16804.h index 34fa59e0e84..dcf52e2c918 100644 --- a/iconvdata/ibm16804.h +++ b/iconvdata/ibm16804.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm4517.h b/iconvdata/ibm4517.h index 87beadb808f..f46d6083d79 100644 --- a/iconvdata/ibm4517.h +++ b/iconvdata/ibm4517.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm4899.h b/iconvdata/ibm4899.h index 4d99874b727..f90229e6af8 100644 --- a/iconvdata/ibm4899.h +++ b/iconvdata/ibm4899.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm4909.h b/iconvdata/ibm4909.h index aab45d70e78..39c987eb2ba 100644 --- a/iconvdata/ibm4909.h +++ b/iconvdata/ibm4909.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm4971.h b/iconvdata/ibm4971.h index d1b2b4ec12a..04c69b69451 100644 --- a/iconvdata/ibm4971.h +++ b/iconvdata/ibm4971.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm5347.h b/iconvdata/ibm5347.h index 1f3bcc7dce7..62c89b5abe5 100644 --- a/iconvdata/ibm5347.h +++ b/iconvdata/ibm5347.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm803.h b/iconvdata/ibm803.h index ca187a4fd34..bc222342808 100644 --- a/iconvdata/ibm803.h +++ b/iconvdata/ibm803.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm856.h b/iconvdata/ibm856.h index a2b6efc1c09..be77850be3b 100644 --- a/iconvdata/ibm856.h +++ b/iconvdata/ibm856.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm901.h b/iconvdata/ibm901.h index c878670e36f..2c773a322fd 100644 --- a/iconvdata/ibm901.h +++ b/iconvdata/ibm901.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm902.h b/iconvdata/ibm902.h index dec7502166a..1dcb67b5b57 100644 --- a/iconvdata/ibm902.h +++ b/iconvdata/ibm902.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm9030.h b/iconvdata/ibm9030.h index 0b2242f3f01..c2734aeafe1 100644 --- a/iconvdata/ibm9030.h +++ b/iconvdata/ibm9030.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm9066.h b/iconvdata/ibm9066.h index 1e7df2dca0b..228c01bca3f 100644 --- a/iconvdata/ibm9066.h +++ b/iconvdata/ibm9066.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm921.h b/iconvdata/ibm921.h index 228e80fcbba..cd921e246ae 100644 --- a/iconvdata/ibm921.h +++ b/iconvdata/ibm921.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm922.h b/iconvdata/ibm922.h index 442bb3aaa90..ad3c98f8485 100644 --- a/iconvdata/ibm922.h +++ b/iconvdata/ibm922.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/ibm9448.h b/iconvdata/ibm9448.h index eda4371d4c1..2fa2cbc609f 100644 --- a/iconvdata/ibm9448.h +++ b/iconvdata/ibm9448.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static const uint32_t to_ucs4[256] = { [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003, diff --git a/iconvdata/isiri-3342.h b/iconvdata/isiri-3342.h index d12aa21a6e0..65a5069dbba 100644 --- a/iconvdata/isiri-3342.h +++ b/iconvdata/isiri-3342.h @@ -1,3 +1,5 @@ +#include + static const uint32_t to_ucs4[256] = { [0x01] = 0x0001, [0x02] = 0x0002, diff --git a/iconvdata/jis0201.h b/iconvdata/jis0201.h index 1c6f553d59b..6b873d7d1a5 100644 --- a/iconvdata/jis0201.h +++ b/iconvdata/jis0201.h @@ -20,6 +20,8 @@ #ifndef _JIS0201_H #define _JIS0201_H 1 +#include + /* Conversion table. */ extern const uint32_t __jisx0201_to_ucs4[]; diff --git a/include/link.h b/include/link.h index 7dc3cd1e329..16824676319 100644 --- a/include/link.h +++ b/include/link.h @@ -37,7 +37,7 @@ struct link_map; extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid, uintptr_t *__cookie); - +#include #include #include #include diff --git a/include/netdb.h b/include/netdb.h index 8a569baef33..e97d1bff8e9 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -1,5 +1,6 @@ #ifndef _NETDB_H #include +#include #ifndef _ISOMAC /* Macros for accessing h_errno from inside libc. */ diff --git a/inet/check_native.c b/inet/check_native.c index e45a7ffbcfd..46ee837b574 100644 --- a/inet/check_native.c +++ b/inet/check_native.c @@ -17,7 +17,7 @@ . */ #include - +#include void attribute_hidden diff --git a/inet/check_pf.c b/inet/check_pf.c index 6968973eb71..0e506023eac 100644 --- a/inet/check_pf.c +++ b/inet/check_pf.c @@ -18,7 +18,7 @@ #include #include - +#include void attribute_hidden diff --git a/inet/getipv4sourcefilter.c b/inet/getipv4sourcefilter.c index b6bcffe43c2..258829f18f4 100644 --- a/inet/getipv4sourcefilter.c +++ b/inet/getipv4sourcefilter.c @@ -18,6 +18,7 @@ . */ #include +#include #include diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c index 436604b7564..ce54fe42a84 100644 --- a/inet/getnameinfo.c +++ b/inet/getnameinfo.c @@ -43,6 +43,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include #include #include #include diff --git a/inet/getsourcefilter.c b/inet/getsourcefilter.c index 174f326c3ab..662a60ab948 100644 --- a/inet/getsourcefilter.c +++ b/inet/getsourcefilter.c @@ -19,7 +19,7 @@ #include #include - +#include int getsourcefilter (int s, uint32_t interface, const struct sockaddr *group, diff --git a/inet/htonl.c b/inet/htonl.c index 0a6205fb0b3..c753cb15456 100644 --- a/inet/htonl.c +++ b/inet/htonl.c @@ -15,6 +15,7 @@ License along with the GNU C Library; if not, see . */ +#include #include #undef htonl diff --git a/inet/setipv4sourcefilter.c b/inet/setipv4sourcefilter.c index f3841f5c03d..af9665968e5 100644 --- a/inet/setipv4sourcefilter.c +++ b/inet/setipv4sourcefilter.c @@ -18,6 +18,7 @@ . */ #include +#include #include diff --git a/inet/setsourcefilter.c b/inet/setsourcefilter.c index 53f1ec48091..4f9c23f2cd8 100644 --- a/inet/setsourcefilter.c +++ b/inet/setsourcefilter.c @@ -18,6 +18,7 @@ . */ #include +#include #include diff --git a/inet/test-inet6_opt.c b/inet/test-inet6_opt.c index 4db9b593898..3bf319ef0ce 100644 --- a/inet/test-inet6_opt.c +++ b/inet/test-inet6_opt.c @@ -2,6 +2,7 @@ #include #include #include +#include #define OPT_X 42 #define OPT_Y 43 diff --git a/inet/tst-network.c b/inet/tst-network.c index af73cd0eebe..6b79e62df6b 100644 --- a/inet/tst-network.c +++ b/inet/tst-network.c @@ -18,6 +18,7 @@ . */ #include +#include #include #include #include diff --git a/libidn/ChangeLog b/libidn/ChangeLog index 10b19a6ebdd..619d891f2fe 100644 --- a/libidn/ChangeLog +++ b/libidn/ChangeLog @@ -1,3 +1,10 @@ +2013-05-16 Ryan S. Arnold + + * idna.c: Add missing #include due to uint64_t or uint32_t + usage. + * nfkc.c: Likewise. + * stringprep.c: Likewise. + 2013-01-02 Joseph Myers * All files with FSF copyright notices: Update copyright dates diff --git a/libidn/idna.c b/libidn/idna.c index daa1a877789..7a15a25b214 100644 --- a/libidn/idna.c +++ b/libidn/idna.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "idna.h" diff --git a/libidn/nfkc.c b/libidn/nfkc.c index f144d7bd7e9..6d4a88b63be 100644 --- a/libidn/nfkc.c +++ b/libidn/nfkc.c @@ -23,6 +23,7 @@ #include #include +#include #include "stringprep.h" diff --git a/libidn/stringprep.c b/libidn/stringprep.c index 201489f36ae..d109a71fea6 100644 --- a/libidn/stringprep.c +++ b/libidn/stringprep.c @@ -23,6 +23,7 @@ #include #include +#include #include "stringprep.h" diff --git a/locale/C-collate.c b/locale/C-collate.c index a5c02af8a67..6c7edf074f0 100644 --- a/locale/C-collate.c +++ b/locale/C-collate.c @@ -17,6 +17,7 @@ . */ #include +#include #include "localeinfo.h" static const char collseqmb[] = diff --git a/locale/C-ctype.c b/locale/C-ctype.c index 95e7b214285..e85625449a9 100644 --- a/locale/C-ctype.c +++ b/locale/C-ctype.c @@ -18,6 +18,7 @@ #include "localeinfo.h" #include +#include #include "C-translit.h" diff --git a/locale/C-time.c b/locale/C-time.c index a19623f567b..6f76deb6e5e 100644 --- a/locale/C-time.c +++ b/locale/C-time.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see . */ +#include #include "localeinfo.h" /* This table's entries are taken from POSIX.2 Table 2-11 diff --git a/locale/C-translit.h b/locale/C-translit.h index d7ec7784ba1..98f66e28fc3 100644 --- a/locale/C-translit.h +++ b/locale/C-translit.h @@ -1,3 +1,5 @@ +#include + #define NTRANSLIT 1355 static const uint32_t translit_from_idx[] = { diff --git a/locale/loadarchive.c b/locale/loadarchive.c index dd70c15bd6f..70136dcf958 100644 --- a/locale/loadarchive.c +++ b/locale/loadarchive.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/locale/programs/3level.h b/locale/programs/3level.h index c8ed119ffdb..9b8b1b96ad1 100644 --- a/locale/programs/3level.h +++ b/locale/programs/3level.h @@ -15,6 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ +#include + /* Construction of sparse 3-level tables. See wchar-lookup.h or coll-lookup.h for their structure and the meaning of p and q. diff --git a/locale/programs/charmap.c b/locale/programs/charmap.c index fd9263117c3..6ce9b18e2b9 100644 --- a/locale/programs/charmap.c +++ b/locale/programs/charmap.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "localedef.h" #include "linereader.h" diff --git a/locale/programs/charmap.h b/locale/programs/charmap.h index 287a7a6670e..57a345dea97 100644 --- a/locale/programs/charmap.h +++ b/locale/programs/charmap.h @@ -20,6 +20,7 @@ #include #include +#include #include "repertoire.h" #include "simple-hash.h" diff --git a/locale/programs/ld-address.c b/locale/programs/ld-address.c index bb50395c5ef..39b9a836f4a 100644 --- a/locale/programs/ld-address.c +++ b/locale/programs/ld-address.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c index aa9eb4ad6a0..6894a7c1819 100644 --- a/locale/programs/ld-collate.c +++ b/locale/programs/ld-collate.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include "localedef.h" diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index 23880bad27f..8be7fce887b 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "localedef.h" diff --git a/locale/programs/ld-identification.c b/locale/programs/ld-identification.c index ca69ded0e21..2589675390a 100644 --- a/locale/programs/ld-identification.c +++ b/locale/programs/ld-identification.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-measurement.c b/locale/programs/ld-measurement.c index 005df4ac328..4aa0ea99a71 100644 --- a/locale/programs/ld-measurement.c +++ b/locale/programs/ld-measurement.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-messages.c b/locale/programs/ld-messages.c index 833adb43a03..f1b9f93f266 100644 --- a/locale/programs/ld-messages.c +++ b/locale/programs/ld-messages.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-monetary.c b/locale/programs/ld-monetary.c index aed175aee98..4dfca3dd7b2 100644 --- a/locale/programs/ld-monetary.c +++ b/locale/programs/ld-monetary.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-name.c b/locale/programs/ld-name.c index de44775056b..207bf0194e6 100644 --- a/locale/programs/ld-name.c +++ b/locale/programs/ld-name.c @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/locale/programs/ld-numeric.c b/locale/programs/ld-numeric.c index b864b0e74af..929409cb7ac 100644 --- a/locale/programs/ld-numeric.c +++ b/locale/programs/ld-numeric.c @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c index 32285ded83f..c6239dfd9d1 100644 --- a/locale/programs/ld-paper.c +++ b/locale/programs/ld-paper.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-telephone.c b/locale/programs/ld-telephone.c index 172ad577a24..44527509218 100644 --- a/locale/programs/ld-telephone.c +++ b/locale/programs/ld-telephone.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c index 94486476db4..45e36c67192 100644 --- a/locale/programs/ld-time.c +++ b/locale/programs/ld-time.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c index 7fde46a4496..4773d4cac4e 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "localedef.h" #include "charmap.h" diff --git a/locale/programs/locale.c b/locale/programs/locale.c index 8dc528c1156..14d34e693d9 100644 --- a/locale/programs/locale.c +++ b/locale/programs/locale.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c index 70dce9bfd52..d31472d9081 100644 --- a/locale/programs/locarchive.c +++ b/locale/programs/locarchive.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h index 4165a7212ba..83bf421ecec 100644 --- a/locale/programs/locfile.h +++ b/locale/programs/locfile.h @@ -18,6 +18,7 @@ #ifndef _LOCFILE_H #define _LOCFILE_H 1 +#include #include #include "linereader.h" diff --git a/locale/programs/repertoire.c b/locale/programs/repertoire.c index bc65672dba9..be77b3e44eb 100644 --- a/locale/programs/repertoire.c +++ b/locale/programs/repertoire.c @@ -27,6 +27,7 @@ #include #include #include +#include #include "localedef.h" #include "linereader.h" diff --git a/locale/programs/simple-hash.c b/locale/programs/simple-hash.c index d65b6fb3f0a..30b1508bdb1 100644 --- a/locale/programs/simple-hash.c +++ b/locale/programs/simple-hash.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #if HAVE_OBSTACK diff --git a/locale/programs/simple-hash.h b/locale/programs/simple-hash.h index 644d015fff8..2ee22253e17 100644 --- a/locale/programs/simple-hash.h +++ b/locale/programs/simple-hash.h @@ -20,6 +20,7 @@ #include #include +#include typedef struct hash_table { diff --git a/malloc/memusage.c b/malloc/memusage.c index 0e40878ac33..e32f6ba030d 100644 --- a/malloc/memusage.c +++ b/malloc/memusage.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/malloc/memusagestat.c b/malloc/memusagestat.c index daeba1dc0ad..b244ef6432d 100644 --- a/malloc/memusagestat.c +++ b/malloc/memusagestat.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/nis/nis_defaults.c b/nis/nis_defaults.c index f035e41ea22..ff84faea4a3 100644 --- a/nis/nis_defaults.c +++ b/nis/nis_defaults.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/nis/nis_hash.c b/nis/nis_hash.c index e26b6b06284..d8a6d06fdd8 100644 --- a/nis/nis_hash.c +++ b/nis/nis_hash.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see . */ +#include #include /* This is from libc/db/hash/hash_func.c, hash3 is static there */ diff --git a/nis/nis_print.c b/nis/nis_print.c index 1e9ab9e5f0b..d24dcdec274 100644 --- a/nis/nis_print.c +++ b/nis/nis_print.c @@ -19,6 +19,7 @@ #include #include #include +#include #include diff --git a/nis/nis_xdr.c b/nis/nis_xdr.c index efebef36fda..10c913c5cc3 100644 --- a/nis/nis_xdr.c +++ b/nis/nis_xdr.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see . */ +#include #include #include /* for "official" Solaris xdr functions */ diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 597b3bdee3d..6e5ca4cfa0f 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2013-05-16 Ryan S. Arnold + + * pthread_create.c: Add missing #include due to uint64_t or + uint32_t usage. + * sysdeps/pthread/createthread.c: Likewise. + 2013-05-14 Andreas Jaeger [BZ #10686] diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index c43077fe2d4..b78bd95c46a 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "pthreadP.h" #include #include diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c index b0f686d25f7..d24136b0e34 100644 --- a/nptl/sysdeps/pthread/createthread.c +++ b/nptl/sysdeps/pthread/createthread.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "kernel-features.h" diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog index 6951395c4a6..34462ceb853 100644 --- a/nptl_db/ChangeLog +++ b/nptl_db/ChangeLog @@ -1,3 +1,16 @@ +2013-05-16 Ryan S. Arnold + + * db_info.c: Add missing #include due to uint64_t or + uint32_t usage. + * fetch-value.c: Likewise. + * td_ta_clear_event.c: Likewise. + * td_ta_set_event.c: Likewise. + * td_ta_tsd_iter.c: Likewise. + * td_thr_clear_event.c: Likewise. + * td_thr_get_info.c: Likewise. + * td_thr_set_event.c: Likewise. + * td_thr_tsd.c: Likewise. + 2013-01-02 Joseph Myers * All files with FSF copyright notices: Update copyright dates diff --git a/nptl_db/db_info.c b/nptl_db/db_info.c index b01984860a0..31c8d88e1d6 100644 --- a/nptl_db/db_info.c +++ b/nptl_db/db_info.c @@ -18,6 +18,7 @@ License along with the GNU C Library; if not, see . */ +#include #include "thread_dbP.h" #include diff --git a/nptl_db/fetch-value.c b/nptl_db/fetch-value.c index 5ea84378026..5986612cdff 100644 --- a/nptl_db/fetch-value.c +++ b/nptl_db/fetch-value.c @@ -19,6 +19,7 @@ #include "thread_dbP.h" #include #include +#include td_err_e _td_check_sizeof (td_thragent_t *ta, uint32_t *sizep, int sizep_name) diff --git a/nptl_db/td_ta_clear_event.c b/nptl_db/td_ta_clear_event.c index 058ac2cd7cf..cf24a1b0aed 100644 --- a/nptl_db/td_ta_clear_event.c +++ b/nptl_db/td_ta_clear_event.c @@ -17,6 +17,7 @@ License along with the GNU C Library; if not, see . */ +#include #include "thread_dbP.h" diff --git a/nptl_db/td_ta_set_event.c b/nptl_db/td_ta_set_event.c index 6d9b5912ae6..6729ffb75ba 100644 --- a/nptl_db/td_ta_set_event.c +++ b/nptl_db/td_ta_set_event.c @@ -17,6 +17,7 @@ License along with the GNU C Library; if not, see . */ +#include #include "thread_dbP.h" diff --git a/nptl_db/td_ta_tsd_iter.c b/nptl_db/td_ta_tsd_iter.c index 92414cd5708..e3f7ffeab88 100644 --- a/nptl_db/td_ta_tsd_iter.c +++ b/nptl_db/td_ta_tsd_iter.c @@ -17,6 +17,7 @@ License along with the GNU C Library; if not, see . */ +#include #include "thread_dbP.h" #include diff --git a/nptl_db/td_thr_clear_event.c b/nptl_db/td_thr_clear_event.c index 3e4c30b6505..bb6739d17f7 100644 --- a/nptl_db/td_thr_clear_event.c +++ b/nptl_db/td_thr_clear_event.c @@ -18,6 +18,7 @@ . */ #include +#include #include "thread_dbP.h" diff --git a/nptl_db/td_thr_get_info.c b/nptl_db/td_thr_get_info.c index d17a0d7b153..18d0a2b18ff 100644 --- a/nptl_db/td_thr_get_info.c +++ b/nptl_db/td_thr_get_info.c @@ -19,6 +19,7 @@ #include #include +#include #include "thread_dbP.h" diff --git a/nptl_db/td_thr_set_event.c b/nptl_db/td_thr_set_event.c index a0634b284be..b833c6ca9c8 100644 --- a/nptl_db/td_thr_set_event.c +++ b/nptl_db/td_thr_set_event.c @@ -18,6 +18,7 @@ . */ #include +#include #include "thread_dbP.h" diff --git a/nptl_db/td_thr_tsd.c b/nptl_db/td_thr_tsd.c index c8d05538f79..79e39d32849 100644 --- a/nptl_db/td_thr_tsd.c +++ b/nptl_db/td_thr_tsd.c @@ -17,6 +17,7 @@ License along with the GNU C Library; if not, see . */ +#include #include "thread_dbP.h" diff --git a/nscd/connections.c b/nscd/connections.c index 56c327971b9..7099215916d 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #ifdef HAVE_NETLINK # include diff --git a/nscd/hstcache.c b/nscd/hstcache.c index ca2145212d4..0d421fcbbb5 100644 --- a/nscd/hstcache.c +++ b/nscd/hstcache.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index 4ede24b1943..e07f62236a9 100644 --- a/nscd/nscd_gethst_r.c +++ b/nscd/nscd_gethst_r.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c index f79bd42e1ad..c9c890c63cd 100644 --- a/nscd/nscd_getserv_r.c +++ b/nscd/nscd_getserv_r.c @@ -21,6 +21,7 @@ #include #include #include <_itoa.h> +#include #include "nscd-client.h" #include "nscd_proto.h" diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c index ba588935608..8587e4549c8 100644 --- a/nscd/nscd_helper.c +++ b/nscd/nscd_helper.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/nscd/servicescache.c b/nscd/servicescache.c index ebb8c454f66..b7738a7cb48 100644 --- a/nscd/servicescache.c +++ b/nscd/servicescache.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include diff --git a/nss/makedb.c b/nss/makedb.c index 13bd8461d4c..bfc90844255 100644 --- a/nss/makedb.c +++ b/nss/makedb.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/nss/nss_db/db-XXX.c b/nss/nss_db/db-XXX.c index 9399ce205a9..40b5ce9be7f 100644 --- a/nss/nss_db/db-XXX.c +++ b/nss/nss_db/db-XXX.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include "nsswitch.h" diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c index 3038b2ed17d..d0d73f0af9e 100644 --- a/nss/nss_db/db-initgroups.c +++ b/nss/nss_db/db-initgroups.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include "nss_db.h" diff --git a/nss/nss_db/db-netgrp.c b/nss/nss_db/db-netgrp.c index 8a5da381ceb..203529f4c81 100644 --- a/nss/nss_db/db-netgrp.c +++ b/nss/nss_db/db-netgrp.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/nss/nss_files/files-network.c b/nss/nss_files/files-network.c index 87ad5d37474..f18e9e174d2 100644 --- a/nss/nss_files/files-network.c +++ b/nss/nss_files/files-network.c @@ -19,6 +19,7 @@ #include #include #include +#include #define ENTNAME netent #define DATABASE "networks" diff --git a/nss/nss_files/files-parse.c b/nss/nss_files/files-parse.c index 8ba277f7a51..91f32da8b8b 100644 --- a/nss/nss_files/files-parse.c +++ b/nss/nss_files/files-parse.c @@ -20,6 +20,7 @@ #include #include #include +#include /* These symbols are defined by the including source file: diff --git a/ports/ChangeLog.am33 b/ports/ChangeLog.am33 index 42548b2c2b3..9c5dba338bf 100644 --- a/ports/ChangeLog.am33 +++ b/ports/ChangeLog.am33 @@ -1,3 +1,8 @@ +2013-05-01 Ryan S. Arnold + + * sysdeps/am33/atomicity.h: Add missing #include due to + uint64_t or uint32_t usage. + 2013-03-11 Andreas Jaeger * sysdeps/unix/sysv/linux/am33/bits/mman.h: Remove all defines diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index ce5fc360b1b..81b2a56eeea 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,3 +1,8 @@ +2013-05-16 Ryan S. Arnold + + * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Add missing #include + due to uint64_t or uint32_t usage. + 2013-05-14 Joseph Myers [BZ #14908] diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index b2215126557..472ae21fb21 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,9 @@ +2013-05-16 Ryan S. Arnold + + * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing + #include due to uint64_t or uint32_t usage. + * sysdeps/mips/bits/atomic.h: Likewise. + 2013-04-02 Thomas Schwinge * sysdeps/mips/math_private.h: New file. diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile index f63bde486b0..5cfa0b15fb3 100644 --- a/ports/ChangeLog.tile +++ b/ports/ChangeLog.tile @@ -1,3 +1,9 @@ +2013-05-16 Ryan S. Arnold + + * sysdeps/tile/tilegx/memusage.h: Add missing #include due + to uint64_t or uint32_t usage. + * sysdeps/tile/tilegx/string-endian.h: Likewise. + 2013-03-11 Andreas Schwab [BZ #15234] diff --git a/ports/sysdeps/am33/atomicity.h b/ports/sysdeps/am33/atomicity.h index 12f72eff912..e9705a25dff 100644 --- a/ports/sysdeps/am33/atomicity.h +++ b/ports/sysdeps/am33/atomicity.h @@ -22,6 +22,7 @@ #define _ATOMICITY_H 1 #include +#include #define __acquire_lock(lock) \ __asm__ __volatile__("1: bset %1, (%0)\n\t" \ diff --git a/ports/sysdeps/mips/bits/atomic.h b/ports/sysdeps/mips/bits/atomic.h index bdc3acef7b4..7c735f72620 100644 --- a/ports/sysdeps/mips/bits/atomic.h +++ b/ports/sysdeps/mips/bits/atomic.h @@ -19,6 +19,7 @@ #ifndef _MIPS_BITS_ATOMIC_H #define _MIPS_BITS_ATOMIC_H 1 +#include #include #include diff --git a/ports/sysdeps/tile/tilegx/memusage.h b/ports/sysdeps/tile/tilegx/memusage.h index 863b229f86c..a81916c2197 100644 --- a/ports/sysdeps/tile/tilegx/memusage.h +++ b/ports/sysdeps/tile/tilegx/memusage.h @@ -16,6 +16,7 @@ License along with the GNU C Library. If not, see . */ +#include #include #define GETSP() ({ register uintptr_t stack_ptr asm ("sp"); stack_ptr; }) diff --git a/ports/sysdeps/tile/tilegx/string-endian.h b/ports/sysdeps/tile/tilegx/string-endian.h index ee9bd1620ac..69ca5fedf26 100644 --- a/ports/sysdeps/tile/tilegx/string-endian.h +++ b/ports/sysdeps/tile/tilegx/string-endian.h @@ -22,6 +22,8 @@ Also, specify how to count "first" and "last" bits when the bits have been read as a word. */ +#include + #ifndef __BIG_ENDIAN__ #define MASK(x) (__insn_shl(1ULL, (x << 3)) - 1) #define NULMASK(x) ((2ULL << x) - 1) diff --git a/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h b/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h index c76b8f3c2da..ae486e1f21b 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h +++ b/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h @@ -16,6 +16,8 @@ License along with the GNU C Library. If not, see . */ +#include + /* If the compiler doesn't provide a primitive, we'll use this macro to get assistance from the kernel. */ #ifdef __thumb2__ diff --git a/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h b/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h index 77ffaf68dfd..e870b207dea 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h +++ b/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h @@ -1,3 +1,5 @@ +#include + /* Linux kernel RT signal frame. */ typedef struct kernel_rt_sigframe { diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c index f199ffbfd35..fd18b19df4e 100644 --- a/posix/bug-regex5.c +++ b/posix/bug-regex5.c @@ -1,5 +1,6 @@ #include #include +#include #include #include diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c index ef3c882a61e..6c4301df13a 100644 --- a/posix/fnmatch_loop.c +++ b/posix/fnmatch_loop.c @@ -15,6 +15,8 @@ License along with the GNU C Library; if not, see . */ +#include + struct STRUCT { const CHAR *pattern; diff --git a/posix/regcomp.c b/posix/regcomp.c index 578044155b3..0ffc2fad8b1 100644 --- a/posix/regcomp.c +++ b/posix/regcomp.c @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern, size_t length, reg_syntax_t syntax); static void re_compile_fastmap_iter (regex_t *bufp, diff --git a/posix/regexec.c b/posix/regexec.c index 5ca2bf67a04..f85c5e80177 100644 --- a/posix/regexec.c +++ b/posix/regexec.c @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + static reg_errcode_t match_ctx_init (re_match_context_t *cache, int eflags, int n) internal_function; static void match_ctx_clean (re_match_context_t *mctx) internal_function; diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c index a37be36e6ad..fcf8a8cd602 100644 --- a/posix/tst-rfc3484-2.c +++ b/posix/tst-rfc3484-2.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Internal definitions used in the libc code. */ #define __getservbyname_r getservbyname_r diff --git a/posix/tst-rfc3484-3.c b/posix/tst-rfc3484-3.c index 493e76015c7..86d59be1abb 100644 --- a/posix/tst-rfc3484-3.c +++ b/posix/tst-rfc3484-3.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Internal definitions used in the libc code. */ #define __getservbyname_r getservbyname_r diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c index db3ae1b7bb8..2726fa0ad9e 100644 --- a/posix/tst-rfc3484.c +++ b/posix/tst-rfc3484.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Internal definitions used in the libc code. */ #define __getservbyname_r getservbyname_r diff --git a/resolv/nss_dns/dns-canon.c b/resolv/nss_dns/dns-canon.c index 090ed7dda28..cdc61b9c6a7 100644 --- a/resolv/nss_dns/dns-canon.c +++ b/resolv/nss_dns/dns-canon.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include diff --git a/resolv/nss_dns/dns-network.c b/resolv/nss_dns/dns-network.c index 5c725b5f67a..3c4db7eec31 100644 --- a/resolv/nss_dns/dns-network.c +++ b/resolv/nss_dns/dns-network.c @@ -61,6 +61,7 @@ #include #include #include +#include #include "nsswitch.h" #include diff --git a/resolv/res_init.c b/resolv/res_init.c index c58c7638413..002dec5c57e 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -77,6 +77,7 @@ static const char rcsid[] = "$BINDId: res_init.c,v 8.16 2000/05/09 07:10:12 vixi #include #include #include +#include #include #include #include diff --git a/resolv/res_mkquery.c b/resolv/res_mkquery.c index 2bc2d2497fd..e2c6a742c0d 100644 --- a/resolv/res_mkquery.c +++ b/resolv/res_mkquery.c @@ -83,6 +83,7 @@ static const char rcsid[] = "$BINDId: res_mkquery.c,v 8.12 1999/10/13 16:39:40 v #ifdef _LIBC # include +# include # if HP_TIMING_AVAIL # define RANDOM_BITS(Var) { uint64_t v64; HP_TIMING_NOW (v64); Var = v64; } # endif diff --git a/resolv/tst-aton.c b/resolv/tst-aton.c index 6cb59604961..4e9caf96f48 100644 --- a/resolv/tst-aton.c +++ b/resolv/tst-aton.c @@ -1,4 +1,5 @@ #include +#include #include #include #include diff --git a/stdlib/cxa_atexit.c b/stdlib/cxa_atexit.c index 82e33654f9f..0a42776dbd0 100644 --- a/stdlib/cxa_atexit.c +++ b/stdlib/cxa_atexit.c @@ -17,6 +17,7 @@ #include #include +#include #include #include "exit.h" diff --git a/stdlib/cxa_finalize.c b/stdlib/cxa_finalize.c index f2a1c9b12c6..2ee890f27a6 100644 --- a/stdlib/cxa_finalize.c +++ b/stdlib/cxa_finalize.c @@ -21,6 +21,7 @@ #include "exit.h" #include #include +#include /* If D is non-NULL, call all functions registered with `__cxa_atexit' with the same dso handle. Otherwise, if D is NULL, call all of the diff --git a/stdlib/gen-fpioconst.c b/stdlib/gen-fpioconst.c index f0dd958d591..1ff1baf9813 100644 --- a/stdlib/gen-fpioconst.c +++ b/stdlib/gen-fpioconst.c @@ -21,6 +21,7 @@ #include #include #include +#include int main (void) diff --git a/stdlib/strtol_l.c b/stdlib/strtol_l.c index dc6829f59ca..874708ab001 100644 --- a/stdlib/strtol_l.c +++ b/stdlib/strtol_l.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #ifdef USE_NUMBER_GROUPING diff --git a/string/tst-endian.c b/string/tst-endian.c index c34dc456a77..8684bb232b3 100644 --- a/string/tst-endian.c +++ b/string/tst-endian.c @@ -2,7 +2,7 @@ #include #include #include - +#include static int do_test (void) diff --git a/sunrpc/auth_des.c b/sunrpc/auth_des.c index 0408d608261..b299c456d6e 100644 --- a/sunrpc/auth_des.c +++ b/sunrpc/auth_des.c @@ -33,6 +33,7 @@ */ #include +#include #include #include #include diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index 8890cc6cfca..7fc077730d0 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include #include diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c index bcb280b48ff..d224624f8bc 100644 --- a/sunrpc/rtime.c +++ b/sunrpc/rtime.c @@ -39,6 +39,7 @@ */ #include #include +#include #include #include #include diff --git a/sunrpc/svcauth_des.c b/sunrpc/svcauth_des.c index 96097349605..a0f961db125 100644 --- a/sunrpc/svcauth_des.c +++ b/sunrpc/svcauth_des.c @@ -43,6 +43,7 @@ #include #include +#include #include #include #include diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c index 7eac2d40f03..b3f96ca4dc2 100644 --- a/sunrpc/xdr.c +++ b/sunrpc/xdr.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include diff --git a/sunrpc/xdr_intXX_t.c b/sunrpc/xdr_intXX_t.c index 39604c95b06..9de567cab4c 100644 --- a/sunrpc/xdr_intXX_t.c +++ b/sunrpc/xdr_intXX_t.c @@ -21,6 +21,7 @@ /* We play dirty tricks with aliases. */ #include +#include /* XDR 64bit integers */ bool_t diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c index f5d6ef2af90..9d79ace4b70 100644 --- a/sunrpc/xdr_rec.c +++ b/sunrpc/xdr_rec.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include #include diff --git a/sysdeps/generic/ldconfig.h b/sysdeps/generic/ldconfig.h index ca3f0e430f9..d96089d492c 100644 --- a/sysdeps/generic/ldconfig.h +++ b/sysdeps/generic/ldconfig.h @@ -19,6 +19,8 @@ #ifndef _LDCONFIG_H #define _LDCONFIG_H +#include + #define FLAG_ANY -1 #define FLAG_TYPE_MASK 0x00ff #define FLAG_LIBC4 0x0000 diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index c7a20ba6681..3f448098029 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -26,6 +26,7 @@ #define __need_NULL #include #include +#include #include #include diff --git a/sysdeps/generic/memusage.h b/sysdeps/generic/memusage.h index 849f6e6bf06..631287827a0 100644 --- a/sysdeps/generic/memusage.h +++ b/sysdeps/generic/memusage.h @@ -18,6 +18,7 @@ #include #include +#include #ifndef GETSP # warning "GETSP is not defined for this architecture." diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c b/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c index a630d10fe24..f686bb67068 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c @@ -18,6 +18,7 @@ #include #include +#include static const double one = 1.0, Zero[] = {0.0, -0.0,}; diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c b/sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c index 488a0efaeda..dcb7b58a1b0 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c @@ -45,6 +45,7 @@ #include #include +#include static const double two54 = 1.80143985094819840000e+16; /* 0x4350000000000000 */ static const double ivln10 = 4.34294481903251816668e-01; /* 0x3FDBCB7B1526E50E */ diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/math_private.h b/sysdeps/ieee754/dbl-64/wordsize-64/math_private.h index b66085eb1bf..4f9219934a3 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/math_private.h +++ b/sysdeps/ieee754/dbl-64/wordsize-64/math_private.h @@ -1,6 +1,7 @@ #ifndef _MATH_PRIVATE_H_ #include_next +#include #ifndef __isnan extern __always_inline int diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c index f25ede8f9cf..fcf2e6d5b67 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c @@ -16,6 +16,7 @@ #include #include +#include #undef __finite int diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c index 5beccb0acc0..914a3c823af 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c @@ -32,6 +32,7 @@ #include #include +#include /* * floor(x) diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c index 70a620cf648..e80b84ca023 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c @@ -17,6 +17,7 @@ #include #include +#include #undef __isnan int __isnan(double x) diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c index 89743168cb5..c309e562726 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c @@ -22,6 +22,7 @@ #include #include +#include static const double one = 1.0; diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c index e9ae82bdbb7..29e62874bb0 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c @@ -20,7 +20,7 @@ #include #include - +#include static const double zero = 0.0; diff --git a/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c b/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c index df674670ed3..bea7960835a 100644 --- a/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c +++ b/sysdeps/ieee754/dbl-64/wordsize-64/s_round.c @@ -20,7 +20,7 @@ #include #include - +#include static const double huge = 1.0e300; diff --git a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h index 1cce1fc4dc4..58eb57cd63d 100644 --- a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h +++ b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h @@ -4,6 +4,7 @@ #include #include +#include static inline void ldbl_extract_mantissa (int64_t *hi64, uint64_t *lo64, int *exp, long double x) diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index d3683066ae2..ab135ada7f3 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -47,6 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include #include #include #include diff --git a/sysdeps/powerpc/fpu/e_hypot.c b/sysdeps/powerpc/fpu/e_hypot.c index d8568d6e3f7..53419337ffb 100644 --- a/sysdeps/powerpc/fpu/e_hypot.c +++ b/sysdeps/powerpc/fpu/e_hypot.c @@ -19,6 +19,7 @@ #include #include +#include static const double two60 = 1.152921504606847e+18; static const double two500 = 3.2733906078961419e+150; diff --git a/sysdeps/powerpc/fpu/e_hypotf.c b/sysdeps/powerpc/fpu/e_hypotf.c index 93055afce55..3ccd3853169 100644 --- a/sysdeps/powerpc/fpu/e_hypotf.c +++ b/sysdeps/powerpc/fpu/e_hypotf.c @@ -19,7 +19,7 @@ #include #include - +#include static const float two30 = 1.0737418e09; diff --git a/sysdeps/powerpc/fpu/e_sqrt.c b/sysdeps/powerpc/fpu/e_sqrt.c index 97bb8703622..3efe277f375 100644 --- a/sysdeps/powerpc/fpu/e_sqrt.c +++ b/sysdeps/powerpc/fpu/e_sqrt.c @@ -20,7 +20,7 @@ #include #include #include - +#include #include #include diff --git a/sysdeps/powerpc/fpu/e_sqrtf.c b/sysdeps/powerpc/fpu/e_sqrtf.c index 3b2e243bb82..6e50a3cd75e 100644 --- a/sysdeps/powerpc/fpu/e_sqrtf.c +++ b/sysdeps/powerpc/fpu/e_sqrtf.c @@ -20,7 +20,7 @@ #include #include #include - +#include #include #include diff --git a/sysdeps/powerpc/test-gettimebase.c b/sysdeps/powerpc/test-gettimebase.c index 88049c69c79..3ce55c7f0f9 100644 --- a/sysdeps/powerpc/test-gettimebase.c +++ b/sysdeps/powerpc/test-gettimebase.c @@ -22,6 +22,7 @@ #include #include +#include #include diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index 8bc025b0412..34c21461bbf 100644 --- a/sysdeps/unix/sysv/linux/check_pf.c +++ b/sysdeps/unix/sysv/linux/check_pf.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/sysdeps/unix/sysv/linux/getipv4sourcefilter.c b/sysdeps/unix/sysv/linux/getipv4sourcefilter.c index 5c90caa8af5..99082483baa 100644 --- a/sysdeps/unix/sysv/linux/getipv4sourcefilter.c +++ b/sysdeps/unix/sysv/linux/getipv4sourcefilter.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/sysdeps/unix/sysv/linux/getsourcefilter.c b/sysdeps/unix/sysv/linux/getsourcefilter.c index 063d6c6509c..682f4248997 100644 --- a/sysdeps/unix/sysv/linux/getsourcefilter.c +++ b/sysdeps/unix/sysv/linux/getsourcefilter.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/sysdeps/unix/sysv/linux/netlinkaccess.h b/sysdeps/unix/sysv/linux/netlinkaccess.h index 7c1deb9b7a4..e0da57a0c56 100644 --- a/sysdeps/unix/sysv/linux/netlinkaccess.h +++ b/sysdeps/unix/sysv/linux/netlinkaccess.h @@ -18,6 +18,7 @@ #ifndef _NETLINKACCESS_H #define _NETLINKACCESS_H 1 +#include #include #include #include diff --git a/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c b/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c index 779ea49c8e0..344496b7ea0 100644 --- a/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c +++ b/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c @@ -22,6 +22,7 @@ #include #include +#include #include diff --git a/sysdeps/unix/sysv/linux/preadv.c b/sysdeps/unix/sysv/linux/preadv.c index 219c6632aef..e92af92eb95 100644 --- a/sysdeps/unix/sysv/linux/preadv.c +++ b/sysdeps/unix/sysv/linux/preadv.c @@ -18,6 +18,7 @@ #include #include #include +#include #if __WORDSIZE == 64 /* Hide the preadv64 declaration. */ # define preadv64 __redirect_preadv64 diff --git a/sysdeps/unix/sysv/linux/pwritev.c b/sysdeps/unix/sysv/linux/pwritev.c index 51b46d66b2f..8dcd21675e8 100644 --- a/sysdeps/unix/sysv/linux/pwritev.c +++ b/sysdeps/unix/sysv/linux/pwritev.c @@ -17,6 +17,7 @@ #include #include +#include #include #if __WORDSIZE == 64 && !defined PWRITEV /* Hide the pwritev64 declaration. */ diff --git a/sysdeps/unix/sysv/linux/setipv4sourcefilter.c b/sysdeps/unix/sysv/linux/setipv4sourcefilter.c index ff328631023..a9b4d3b4b75 100644 --- a/sysdeps/unix/sysv/linux/setipv4sourcefilter.c +++ b/sysdeps/unix/sysv/linux/setipv4sourcefilter.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/sysdeps/unix/sysv/linux/setsourcefilter.c b/sysdeps/unix/sysv/linux/setsourcefilter.c index 5ae37314bb2..f50f293cf0d 100644 --- a/sysdeps/unix/sysv/linux/setsourcefilter.c +++ b/sysdeps/unix/sysv/linux/setsourcefilter.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c b/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c index 7f6dee309fc..32cb0aa074d 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c @@ -20,6 +20,7 @@ #include #include #include +#include /* Since x32 arch_prctl stores 32-bit base address of segment registers %fs and %gs as unsigned 64-bit value via ARCH_GET_FS and ARCH_GET_GS, diff --git a/sysdeps/x86_64/dl-tls.h b/sysdeps/x86_64/dl-tls.h index 2bb3e6fe62c..af861c0ad43 100644 --- a/sysdeps/x86_64/dl-tls.h +++ b/sysdeps/x86_64/dl-tls.h @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see . */ +#include /* Type used for the representation of TLS information in the GOT. */ typedef struct dl_tls_index diff --git a/sysdeps/x86_64/dl-tlsdesc.h b/sysdeps/x86_64/dl-tlsdesc.h index ea584bf5a10..a6c05962198 100644 --- a/sysdeps/x86_64/dl-tlsdesc.h +++ b/sysdeps/x86_64/dl-tlsdesc.h @@ -17,6 +17,8 @@ License along with the GNU C Library; if not, see . */ +#include + #ifndef _X86_64_DL_TLSDESC_H # define _X86_64_DL_TLSDESC_H 1 diff --git a/time/alt_digit.c b/time/alt_digit.c index 59fce11b843..7cd5119af09 100644 --- a/time/alt_digit.c +++ b/time/alt_digit.c @@ -21,6 +21,7 @@ #include #include #include +#include /* Some of the functions here must not be used while setlocale is called. */ __libc_rwlock_define (extern, __libc_setlocale_lock attribute_hidden) diff --git a/time/era.c b/time/era.c index d272374474c..d10af8b1a5d 100644 --- a/time/era.c +++ b/time/era.c @@ -21,6 +21,7 @@ #include #include #include +#include /* Some of the functions here must not be used while setlocale is called. */ __libc_rwlock_define (extern, __libc_setlocale_lock attribute_hidden) diff --git a/wcsmbs/tst-c16c32-1.c b/wcsmbs/tst-c16c32-1.c index f4534c5d934..3b1c1d674ca 100644 --- a/wcsmbs/tst-c16c32-1.c +++ b/wcsmbs/tst-c16c32-1.c @@ -2,7 +2,7 @@ #include #include #include - +#include static int do_test (void)