aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-16 11:32:54 -0500
commite054f494306530720114b321b3d97ca2f397cbbb (patch)
tree08bd9b3309787b98c196961d5c8480bf65c7b2a8
parentConvert TEST_extra tests from code to data. (diff)
downloadglibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.bz2
glibc-e054f494306530720114b321b3d97ca2f397cbbb.zip
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
-rw-r--r--ChangeLog197
-rw-r--r--crypt/sha256-block.c2
-rw-r--r--crypt/sha256-crypt.c1
-rw-r--r--crypt/sha256.c1
-rw-r--r--crypt/sha512-block.c2
-rw-r--r--crypt/sha512-crypt.c1
-rw-r--r--crypt/sha512.c1
-rw-r--r--debug/backtrace-tst.c1
-rw-r--r--debug/pcprofiledump.c1
-rw-r--r--elf/cache.c1
-rw-r--r--elf/dl-cache.c2
-rw-r--r--elf/dl-misc.c1
-rw-r--r--elf/dl-profile.c1
-rw-r--r--elf/dl-support.c1
-rw-r--r--elf/ldconfig.c1
-rw-r--r--elf/sprof.c1
-rw-r--r--iconv/dummy-repertoire.c2
-rw-r--r--iconv/iconv_charmap.c1
-rw-r--r--iconv/skeleton.c1
-rw-r--r--iconvdata/8bit-generic.c1
-rw-r--r--iconvdata/cp737.h2
-rw-r--r--iconvdata/cp775.h2
-rw-r--r--iconvdata/ibm1008.h2
-rw-r--r--iconvdata/ibm1025.h2
-rw-r--r--iconvdata/ibm1046.h2
-rw-r--r--iconvdata/ibm1097.h2
-rw-r--r--iconvdata/ibm1112.h2
-rw-r--r--iconvdata/ibm1122.h2
-rw-r--r--iconvdata/ibm1123.h2
-rw-r--r--iconvdata/ibm1124.h2
-rw-r--r--iconvdata/ibm1129.h2
-rw-r--r--iconvdata/ibm1130.h2
-rw-r--r--iconvdata/ibm1132.h2
-rw-r--r--iconvdata/ibm1133.h2
-rw-r--r--iconvdata/ibm1137.h2
-rw-r--r--iconvdata/ibm1140.h2
-rw-r--r--iconvdata/ibm1141.h2
-rw-r--r--iconvdata/ibm1142.h2
-rw-r--r--iconvdata/ibm1143.h2
-rw-r--r--iconvdata/ibm1144.h2
-rw-r--r--iconvdata/ibm1145.h2
-rw-r--r--iconvdata/ibm1146.h2
-rw-r--r--iconvdata/ibm1147.h2
-rw-r--r--iconvdata/ibm1148.h2
-rw-r--r--iconvdata/ibm1149.h2
-rw-r--r--iconvdata/ibm1153.h2
-rw-r--r--iconvdata/ibm1154.h2
-rw-r--r--iconvdata/ibm1155.h2
-rw-r--r--iconvdata/ibm1156.h2
-rw-r--r--iconvdata/ibm1157.h2
-rw-r--r--iconvdata/ibm1158.h2
-rw-r--r--iconvdata/ibm1160.h2
-rw-r--r--iconvdata/ibm1161.h2
-rw-r--r--iconvdata/ibm1162.h2
-rw-r--r--iconvdata/ibm1163.h2
-rw-r--r--iconvdata/ibm1164.h2
-rw-r--r--iconvdata/ibm1166.h2
-rw-r--r--iconvdata/ibm1167.h2
-rw-r--r--iconvdata/ibm12712.h2
-rw-r--r--iconvdata/ibm1390.h2
-rw-r--r--iconvdata/ibm1399.h2
-rw-r--r--iconvdata/ibm16804.h2
-rw-r--r--iconvdata/ibm4517.h2
-rw-r--r--iconvdata/ibm4899.h2
-rw-r--r--iconvdata/ibm4909.h2
-rw-r--r--iconvdata/ibm4971.h2
-rw-r--r--iconvdata/ibm5347.h2
-rw-r--r--iconvdata/ibm803.h2
-rw-r--r--iconvdata/ibm856.h2
-rw-r--r--iconvdata/ibm901.h2
-rw-r--r--iconvdata/ibm902.h2
-rw-r--r--iconvdata/ibm9030.h2
-rw-r--r--iconvdata/ibm9066.h2
-rw-r--r--iconvdata/ibm921.h2
-rw-r--r--iconvdata/ibm922.h2
-rw-r--r--iconvdata/ibm9448.h2
-rw-r--r--iconvdata/isiri-3342.h2
-rw-r--r--iconvdata/jis0201.h2
-rw-r--r--include/link.h2
-rw-r--r--include/netdb.h1
-rw-r--r--inet/check_native.c2
-rw-r--r--inet/check_pf.c2
-rw-r--r--inet/getipv4sourcefilter.c1
-rw-r--r--inet/getnameinfo.c1
-rw-r--r--inet/getsourcefilter.c2
-rw-r--r--inet/htonl.c1
-rw-r--r--inet/setipv4sourcefilter.c1
-rw-r--r--inet/setsourcefilter.c1
-rw-r--r--inet/test-inet6_opt.c1
-rw-r--r--inet/tst-network.c1
-rw-r--r--libidn/ChangeLog7
-rw-r--r--libidn/idna.c1
-rw-r--r--libidn/nfkc.c1
-rw-r--r--libidn/stringprep.c1
-rw-r--r--locale/C-collate.c1
-rw-r--r--locale/C-ctype.c1
-rw-r--r--locale/C-time.c1
-rw-r--r--locale/C-translit.h2
-rw-r--r--locale/loadarchive.c1
-rw-r--r--locale/programs/3level.h2
-rw-r--r--locale/programs/charmap.c1
-rw-r--r--locale/programs/charmap.h1
-rw-r--r--locale/programs/ld-address.c1
-rw-r--r--locale/programs/ld-collate.c1
-rw-r--r--locale/programs/ld-ctype.c1
-rw-r--r--locale/programs/ld-identification.c1
-rw-r--r--locale/programs/ld-measurement.c1
-rw-r--r--locale/programs/ld-messages.c1
-rw-r--r--locale/programs/ld-monetary.c1
-rw-r--r--locale/programs/ld-name.c1
-rw-r--r--locale/programs/ld-numeric.c1
-rw-r--r--locale/programs/ld-paper.c1
-rw-r--r--locale/programs/ld-telephone.c1
-rw-r--r--locale/programs/ld-time.c1
-rw-r--r--locale/programs/linereader.c1
-rw-r--r--locale/programs/locale.c1
-rw-r--r--locale/programs/locarchive.c1
-rw-r--r--locale/programs/locfile.h1
-rw-r--r--locale/programs/repertoire.c1
-rw-r--r--locale/programs/simple-hash.c1
-rw-r--r--locale/programs/simple-hash.h1
-rw-r--r--malloc/memusage.c1
-rw-r--r--malloc/memusagestat.c1
-rw-r--r--nis/nis_defaults.c1
-rw-r--r--nis/nis_hash.c1
-rw-r--r--nis/nis_print.c1
-rw-r--r--nis/nis_xdr.c1
-rw-r--r--nptl/ChangeLog6
-rw-r--r--nptl/pthread_create.c1
-rw-r--r--nptl/sysdeps/pthread/createthread.c1
-rw-r--r--nptl_db/ChangeLog13
-rw-r--r--nptl_db/db_info.c1
-rw-r--r--nptl_db/fetch-value.c1
-rw-r--r--nptl_db/td_ta_clear_event.c1
-rw-r--r--nptl_db/td_ta_set_event.c1
-rw-r--r--nptl_db/td_ta_tsd_iter.c1
-rw-r--r--nptl_db/td_thr_clear_event.c1
-rw-r--r--nptl_db/td_thr_get_info.c1
-rw-r--r--nptl_db/td_thr_set_event.c1
-rw-r--r--nptl_db/td_thr_tsd.c1
-rw-r--r--nscd/connections.c1
-rw-r--r--nscd/hstcache.c1
-rw-r--r--nscd/nscd_gethst_r.c1
-rw-r--r--nscd/nscd_getserv_r.c1
-rw-r--r--nscd/nscd_helper.c1
-rw-r--r--nscd/servicescache.c1
-rw-r--r--nss/makedb.c1
-rw-r--r--nss/nss_db/db-XXX.c1
-rw-r--r--nss/nss_db/db-initgroups.c1
-rw-r--r--nss/nss_db/db-netgrp.c1
-rw-r--r--nss/nss_files/files-network.c1
-rw-r--r--nss/nss_files/files-parse.c1
-rw-r--r--ports/ChangeLog.am335
-rw-r--r--ports/ChangeLog.arm5
-rw-r--r--ports/ChangeLog.mips6
-rw-r--r--ports/ChangeLog.tile6
-rw-r--r--ports/sysdeps/am33/atomicity.h1
-rw-r--r--ports/sysdeps/mips/bits/atomic.h1
-rw-r--r--ports/sysdeps/tile/tilegx/memusage.h1
-rw-r--r--ports/sysdeps/tile/tilegx/string-endian.h2
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h2
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h2
-rw-r--r--posix/bug-regex5.c1
-rw-r--r--posix/fnmatch_loop.c2
-rw-r--r--posix/regcomp.c2
-rw-r--r--posix/regexec.c2
-rw-r--r--posix/tst-rfc3484-2.c1
-rw-r--r--posix/tst-rfc3484-3.c1
-rw-r--r--posix/tst-rfc3484.c1
-rw-r--r--resolv/nss_dns/dns-canon.c1
-rw-r--r--resolv/nss_dns/dns-network.c1
-rw-r--r--resolv/res_init.c1
-rw-r--r--resolv/res_mkquery.c1
-rw-r--r--resolv/tst-aton.c1
-rw-r--r--stdlib/cxa_atexit.c1
-rw-r--r--stdlib/cxa_finalize.c1
-rw-r--r--stdlib/gen-fpioconst.c1
-rw-r--r--stdlib/strtol_l.c1
-rw-r--r--string/tst-endian.c2
-rw-r--r--sunrpc/auth_des.c1
-rw-r--r--sunrpc/clnt_udp.c1
-rw-r--r--sunrpc/rtime.c1
-rw-r--r--sunrpc/svcauth_des.c1
-rw-r--r--sunrpc/xdr.c1
-rw-r--r--sunrpc/xdr_intXX_t.c1
-rw-r--r--sunrpc/xdr_rec.c1
-rw-r--r--sysdeps/generic/ldconfig.h2
-rw-r--r--sysdeps/generic/ldsodefs.h1
-rw-r--r--sysdeps/generic/memusage.h1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/math_private.h1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c1
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c2
-rw-r--r--sysdeps/ieee754/dbl-64/wordsize-64/s_round.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/math_ldbl.h1
-rw-r--r--sysdeps/posix/getaddrinfo.c1
-rw-r--r--sysdeps/powerpc/fpu/e_hypot.c1
-rw-r--r--sysdeps/powerpc/fpu/e_hypotf.c2
-rw-r--r--sysdeps/powerpc/fpu/e_sqrt.c2
-rw-r--r--sysdeps/powerpc/fpu/e_sqrtf.c2
-rw-r--r--sysdeps/powerpc/test-gettimebase.c1
-rw-r--r--sysdeps/unix/sysv/linux/check_pf.c1
-rw-r--r--sysdeps/unix/sysv/linux/getipv4sourcefilter.c1
-rw-r--r--sysdeps/unix/sysv/linux/getsourcefilter.c1
-rw-r--r--sysdeps/unix/sysv/linux/netlinkaccess.h1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c1
-rw-r--r--sysdeps/unix/sysv/linux/preadv.c1
-rw-r--r--sysdeps/unix/sysv/linux/pwritev.c1
-rw-r--r--sysdeps/unix/sysv/linux/setipv4sourcefilter.c1
-rw-r--r--sysdeps/unix/sysv/linux/setsourcefilter.c1
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c1
-rw-r--r--sysdeps/x86_64/dl-tls.h1
-rw-r--r--sysdeps/x86_64/dl-tlsdesc.h2
-rw-r--r--time/alt_digit.c1
-rw-r--r--time/era.c1
-rw-r--r--wcsmbs/tst-c16c32-1.c2
220 files changed, 528 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d5e02ab38..1fe59a3d5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,200 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * crypt/sha512-block.c: Add missing #include <stdint.h> 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 <joseph@codesourcery.com>
* math/libm-test.inc (struct test_sincos_data): New type.
diff --git a/crypt/sha256-block.c b/crypt/sha256-block.c
index a163e25865..8a77096999 100644
--- a/crypt/sha256-block.c
+++ b/crypt/sha256-block.c
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
/* 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 334f572b10..c114a534ab 100644
--- a/crypt/sha256-crypt.c
+++ b/crypt/sha256-crypt.c
@@ -22,6 +22,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/param.h>
#include "sha256.h"
diff --git a/crypt/sha256.c b/crypt/sha256.c
index 9aa222b7d8..8fb7d47671 100644
--- a/crypt/sha256.c
+++ b/crypt/sha256.c
@@ -26,6 +26,7 @@
#include <endian.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/types.h>
#include "sha256.h"
diff --git a/crypt/sha512-block.c b/crypt/sha512-block.c
index e7c5cfd7f5..c542db1c9c 100644
--- a/crypt/sha512-block.c
+++ b/crypt/sha512-block.c
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
/* 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 6541a9dbcd..e09ae4106b 100644
--- a/crypt/sha512-crypt.c
+++ b/crypt/sha512-crypt.c
@@ -22,6 +22,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/param.h>
#include "sha512.h"
diff --git a/crypt/sha512.c b/crypt/sha512.c
index db17ff4671..be20bcc822 100644
--- a/crypt/sha512.c
+++ b/crypt/sha512.c
@@ -26,6 +26,7 @@
#include <endian.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/types.h>
#include "sha512.h"
diff --git a/debug/backtrace-tst.c b/debug/backtrace-tst.c
index ce80685bf8..cc46c33c3c 100644
--- a/debug/backtrace-tst.c
+++ b/debug/backtrace-tst.c
@@ -2,6 +2,7 @@
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
static int
diff --git a/debug/pcprofiledump.c b/debug/pcprofiledump.c
index 43ae347d5e..ce6096de06 100644
--- a/debug/pcprofiledump.c
+++ b/debug/pcprofiledump.c
@@ -33,6 +33,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include "../version.h"
diff --git a/elf/cache.c b/elf/cache.c
index 699550bb60..9bf261cd29 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
diff --git a/elf/dl-cache.c b/elf/dl-cache.c
index 030fdcaffe..0b68d18b93 100644
--- a/elf/dl-cache.c
+++ b/elf/dl-cache.c
@@ -22,7 +22,7 @@
#include <sys/mman.h>
#include <dl-cache.h>
#include <dl-procinfo.h>
-
+#include <stdint.h>
#include <_itoa.h>
#ifndef _DL_PLATFORMS_COUNT
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index e0e105b88f..5fc13a44a4 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index c3faeba442..9034be229a 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <ldsodefs.h>
#include <sys/gmon.h>
#include <sys/gmon_out.h>
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 7a55b82e34..b3ab9560ad 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <sys/param.h>
+#include <stdint.h>
#include <ldsodefs.h>
#include <dl-machine.h>
#include <bits/libc-lock.h>
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index 340c132a83..13f262d65c 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -31,6 +31,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
diff --git a/elf/sprof.c b/elf/sprof.c
index 5c70ec0473..60f310f47a 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <ldsodefs.h>
#include <sys/gmon.h>
#include <sys/gmon_out.h>
diff --git a/iconv/dummy-repertoire.c b/iconv/dummy-repertoire.c
index b32a754783..a7ca1f017b 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 <http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
/* For iconv we don't have to handle repertoire maps. Provide dummy
definitions to allow the use of linereader.c unchanged. */
#include <repertoire.h>
diff --git a/iconv/iconv_charmap.c b/iconv/iconv_charmap.c
index 745adcc510..56f156e117 100644
--- a/iconv/iconv_charmap.c
+++ b/iconv/iconv_charmap.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/stat.h>
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index c8b14454e9..45beb06d34 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -144,6 +144,7 @@
#endif
#include <sysdep.h>
+#include <stdint.h>
#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 79a398925b..c789dc6b2f 100644
--- a/iconvdata/8bit-generic.c
+++ b/iconvdata/8bit-generic.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <dlfcn.h>
+#include <stdint.h>
#define FROM_LOOP from_generic
#define TO_LOOP to_generic
diff --git a/iconvdata/cp737.h b/iconvdata/cp737.h
index faf3f10485..1796626a86 100644
--- a/iconvdata/cp737.h
+++ b/iconvdata/cp737.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
/* 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 13fe5deaf3..c7e6011058 100644
--- a/iconvdata/cp775.h
+++ b/iconvdata/cp775.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
/* 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 800816f5d7..57232a579f 100644
--- a/iconvdata/ibm1008.h
+++ b/iconvdata/ibm1008.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 da2cf1cef7..fc58a37ca1 100644
--- a/iconvdata/ibm1025.h
+++ b/iconvdata/ibm1025.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 7c103b408d..80d1e59795 100644
--- a/iconvdata/ibm1046.h
+++ b/iconvdata/ibm1046.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 34a3088471..3fe8046716 100644
--- a/iconvdata/ibm1097.h
+++ b/iconvdata/ibm1097.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 a58486332c..f5eca92270 100644
--- a/iconvdata/ibm1112.h
+++ b/iconvdata/ibm1112.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 ccb1427817..30d7a2a739 100644
--- a/iconvdata/ibm1122.h
+++ b/iconvdata/ibm1122.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 6a30f77f94..28e4585681 100644
--- a/iconvdata/ibm1123.h
+++ b/iconvdata/ibm1123.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 4f75b33506..2393fd75e9 100644
--- a/iconvdata/ibm1124.h
+++ b/iconvdata/ibm1124.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 c1cdcd670d..94011fbe02 100644
--- a/iconvdata/ibm1129.h
+++ b/iconvdata/ibm1129.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 b7c9d64ecd..101c9bcc5e 100644
--- a/iconvdata/ibm1130.h
+++ b/iconvdata/ibm1130.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 e98faa2306..7e38be1a8c 100644
--- a/iconvdata/ibm1132.h
+++ b/iconvdata/ibm1132.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 46fecf19e3..35e8dd2768 100644
--- a/iconvdata/ibm1133.h
+++ b/iconvdata/ibm1133.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 8b80092e93..22051fa2f6 100644
--- a/iconvdata/ibm1137.h
+++ b/iconvdata/ibm1137.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 b4ede7680f..733298217a 100644
--- a/iconvdata/ibm1140.h
+++ b/iconvdata/ibm1140.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 ca3bfeb8c3..ec2ec6b5b7 100644
--- a/iconvdata/ibm1141.h
+++ b/iconvdata/ibm1141.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 f9236798e6..e2a54afe32 100644
--- a/iconvdata/ibm1142.h
+++ b/iconvdata/ibm1142.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 faec48b5f8..d64514ba1d 100644
--- a/iconvdata/ibm1143.h
+++ b/iconvdata/ibm1143.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 5e00b114a2..63632dcaa4 100644
--- a/iconvdata/ibm1144.h
+++ b/iconvdata/ibm1144.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 41a92bfa91..771cea7788 100644
--- a/iconvdata/ibm1145.h
+++ b/iconvdata/ibm1145.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 3d071cfdf4..543f87fea4 100644
--- a/iconvdata/ibm1146.h
+++ b/iconvdata/ibm1146.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 30dd442e18..dacf88c62d 100644
--- a/iconvdata/ibm1147.h
+++ b/iconvdata/ibm1147.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 ea135f633d..1f9de887b9 100644
--- a/iconvdata/ibm1148.h
+++ b/iconvdata/ibm1148.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 2fe222cb6e..a86aa247f4 100644
--- a/iconvdata/ibm1149.h
+++ b/iconvdata/ibm1149.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 f61861edbb..df248cf2fa 100644
--- a/iconvdata/ibm1153.h
+++ b/iconvdata/ibm1153.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 253af80329..24f5c05150 100644
--- a/iconvdata/ibm1154.h
+++ b/iconvdata/ibm1154.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 4ac78732c5..1138d8b972 100644
--- a/iconvdata/ibm1155.h
+++ b/iconvdata/ibm1155.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 233f6809e1..547751ef3f 100644
--- a/iconvdata/ibm1156.h
+++ b/iconvdata/ibm1156.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 eefcb71fe9..c7c021c04e 100644
--- a/iconvdata/ibm1157.h
+++ b/iconvdata/ibm1157.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 e69fa88235..e569062bbe 100644
--- a/iconvdata/ibm1158.h
+++ b/iconvdata/ibm1158.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 c7fd40f0c7..78f7baa502 100644
--- a/iconvdata/ibm1160.h
+++ b/iconvdata/ibm1160.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 0a95ace582..8b95356a9c 100644
--- a/iconvdata/ibm1161.h
+++ b/iconvdata/ibm1161.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 c791e64e6c..910a5a9e6b 100644
--- a/iconvdata/ibm1162.h
+++ b/iconvdata/ibm1162.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 6ffa4e3ace..541c6312be 100644
--- a/iconvdata/ibm1163.h
+++ b/iconvdata/ibm1163.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 293c49c0ab..70902578ca 100644
--- a/iconvdata/ibm1164.h
+++ b/iconvdata/ibm1164.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 da239a17e9..a8faf9add6 100644
--- a/iconvdata/ibm1166.h
+++ b/iconvdata/ibm1166.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 041e08ed69..f2de81876a 100644
--- a/iconvdata/ibm1167.h
+++ b/iconvdata/ibm1167.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 ac81814247..92765677f7 100644
--- a/iconvdata/ibm12712.h
+++ b/iconvdata/ibm12712.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 6cd15f69b1..5f2841e08a 100644
--- a/iconvdata/ibm1390.h
+++ b/iconvdata/ibm1390.h
@@ -20,6 +20,8 @@
#ifndef _IBM1390_H
#define _IBM1390_H 1
+#include <stdint.h>
+
struct gap
{
uint32_t start;
diff --git a/iconvdata/ibm1399.h b/iconvdata/ibm1399.h
index 94e3ebe110..323482af69 100644
--- a/iconvdata/ibm1399.h
+++ b/iconvdata/ibm1399.h
@@ -20,6 +20,8 @@
#ifndef _IBM1399_H
#define _IBM1399_H 1
+#include <stdint.h>
+
struct gap
{
uint32_t start;
diff --git a/iconvdata/ibm16804.h b/iconvdata/ibm16804.h
index 34fa59e0e8..dcf52e2c91 100644
--- a/iconvdata/ibm16804.h
+++ b/iconvdata/ibm16804.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 87beadb808..f46d6083d7 100644
--- a/iconvdata/ibm4517.h
+++ b/iconvdata/ibm4517.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 4d99874b72..f90229e6af 100644
--- a/iconvdata/ibm4899.h
+++ b/iconvdata/ibm4899.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 aab45d70e7..39c987eb2b 100644
--- a/iconvdata/ibm4909.h
+++ b/iconvdata/ibm4909.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 d1b2b4ec12..04c69b6945 100644
--- a/iconvdata/ibm4971.h
+++ b/iconvdata/ibm4971.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 1f3bcc7dce..62c89b5abe 100644
--- a/iconvdata/ibm5347.h
+++ b/iconvdata/ibm5347.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 ca187a4fd3..bc22234280 100644
--- a/iconvdata/ibm803.h
+++ b/iconvdata/ibm803.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 a2b6efc1c0..be77850be3 100644
--- a/iconvdata/ibm856.h
+++ b/iconvdata/ibm856.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 c878670e36..2c773a322f 100644
--- a/iconvdata/ibm901.h
+++ b/iconvdata/ibm901.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 dec7502166..1dcb67b5b5 100644
--- a/iconvdata/ibm902.h
+++ b/iconvdata/ibm902.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 0b2242f3f0..c2734aeafe 100644
--- a/iconvdata/ibm9030.h
+++ b/iconvdata/ibm9030.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 1e7df2dca0..228c01bca3 100644
--- a/iconvdata/ibm9066.h
+++ b/iconvdata/ibm9066.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 228e80fcbb..cd921e246a 100644
--- a/iconvdata/ibm921.h
+++ b/iconvdata/ibm921.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 442bb3aaa9..ad3c98f848 100644
--- a/iconvdata/ibm922.h
+++ b/iconvdata/ibm922.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 eda4371d4c..2fa2cbc609 100644
--- a/iconvdata/ibm9448.h
+++ b/iconvdata/ibm9448.h
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 d12aa21a6e..65a5069dbb 100644
--- a/iconvdata/isiri-3342.h
+++ b/iconvdata/isiri-3342.h
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
static const uint32_t to_ucs4[256] = {
[0x01] = 0x0001,
[0x02] = 0x0002,
diff --git a/iconvdata/jis0201.h b/iconvdata/jis0201.h
index 1c6f553d59..6b873d7d1a 100644
--- a/iconvdata/jis0201.h
+++ b/iconvdata/jis0201.h
@@ -20,6 +20,8 @@
#ifndef _JIS0201_H
#define _JIS0201_H 1
+#include <stdint.h>
+
/* Conversion table. */
extern const uint32_t __jisx0201_to_ucs4[];
diff --git a/include/link.h b/include/link.h
index 7dc3cd1e32..1682467631 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 <stdint.h>
#include <stddef.h>
#include <bits/linkmap.h>
#include <dl-lookupcfg.h>
diff --git a/include/netdb.h b/include/netdb.h
index 8a569baef3..e97d1bff8e 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,5 +1,6 @@
#ifndef _NETDB_H
#include <resolv/netdb.h>
+#include <stdint.h>
#ifndef _ISOMAC
/* Macros for accessing h_errno from inside libc. */
diff --git a/inet/check_native.c b/inet/check_native.c
index e45a7ffbcf..46ee837b57 100644
--- a/inet/check_native.c
+++ b/inet/check_native.c
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <ifaddrs.h>
-
+#include <stdint.h>
void
attribute_hidden
diff --git a/inet/check_pf.c b/inet/check_pf.c
index 6968973eb7..0e506023ea 100644
--- a/inet/check_pf.c
+++ b/inet/check_pf.c
@@ -18,7 +18,7 @@
#include <ifaddrs.h>
#include <netdb.h>
-
+#include <stdint.h>
void
attribute_hidden
diff --git a/inet/getipv4sourcefilter.c b/inet/getipv4sourcefilter.c
index b6bcffe43c..258829f18f 100644
--- a/inet/getipv4sourcefilter.c
+++ b/inet/getipv4sourcefilter.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
+#include <stdint.h>
#include <netinet/in.h>
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index 436604b756..ce54fe42a8 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -43,6 +43,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <netinet/in.h>
diff --git a/inet/getsourcefilter.c b/inet/getsourcefilter.c
index 174f326c3a..662a60ab94 100644
--- a/inet/getsourcefilter.c
+++ b/inet/getsourcefilter.c
@@ -19,7 +19,7 @@
#include <errno.h>
#include <netinet/in.h>
-
+#include <stdint.h>
int
getsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
diff --git a/inet/htonl.c b/inet/htonl.c
index 0a6205fb0b..c753cb1545 100644
--- a/inet/htonl.c
+++ b/inet/htonl.c
@@ -15,6 +15,7 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include <netinet/in.h>
#undef htonl
diff --git a/inet/setipv4sourcefilter.c b/inet/setipv4sourcefilter.c
index f3841f5c03..af9665968e 100644
--- a/inet/setipv4sourcefilter.c
+++ b/inet/setipv4sourcefilter.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
+#include <stdint.h>
#include <netinet/in.h>
diff --git a/inet/setsourcefilter.c b/inet/setsourcefilter.c
index 53f1ec4809..4f9c23f2cd 100644
--- a/inet/setsourcefilter.c
+++ b/inet/setsourcefilter.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <errno.h>
+#include <stdint.h>
#include <netinet/in.h>
diff --git a/inet/test-inet6_opt.c b/inet/test-inet6_opt.c
index 4db9b59389..3bf319ef0c 100644
--- a/inet/test-inet6_opt.c
+++ b/inet/test-inet6_opt.c
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#define OPT_X 42
#define OPT_Y 43
diff --git a/inet/tst-network.c b/inet/tst-network.c
index af73cd0eeb..6b79e62df6 100644
--- a/inet/tst-network.c
+++ b/inet/tst-network.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <stdio.h>
+#include <stdint.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/libidn/ChangeLog b/libidn/ChangeLog
index 10b19a6ebd..619d891f2f 100644
--- a/libidn/ChangeLog
+++ b/libidn/ChangeLog
@@ -1,3 +1,10 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * idna.c: Add missing #include <stdint.h> due to uint64_t or uint32_t
+ usage.
+ * nfkc.c: Likewise.
+ * stringprep.c: Likewise.
+
2013-01-02 Joseph Myers <joseph@codesourcery.com>
* All files with FSF copyright notices: Update copyright dates
diff --git a/libidn/idna.c b/libidn/idna.c
index daa1a87778..7a15a25b21 100644
--- a/libidn/idna.c
+++ b/libidn/idna.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <stringprep.h>
#include <punycode.h>
+#include <stdint.h>
#include "idna.h"
diff --git a/libidn/nfkc.c b/libidn/nfkc.c
index f144d7bd7e..6d4a88b63b 100644
--- a/libidn/nfkc.c
+++ b/libidn/nfkc.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include "stringprep.h"
diff --git a/libidn/stringprep.c b/libidn/stringprep.c
index 201489f36a..d109a71fea 100644
--- a/libidn/stringprep.c
+++ b/libidn/stringprep.c
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include "stringprep.h"
diff --git a/locale/C-collate.c b/locale/C-collate.c
index a5c02af8a6..6c7edf074f 100644
--- a/locale/C-collate.c
+++ b/locale/C-collate.c
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <endian.h>
+#include <stdint.h>
#include "localeinfo.h"
static const char collseqmb[] =
diff --git a/locale/C-ctype.c b/locale/C-ctype.c
index 95e7b21428..e85625449a 100644
--- a/locale/C-ctype.c
+++ b/locale/C-ctype.c
@@ -18,6 +18,7 @@
#include "localeinfo.h"
#include <endian.h>
+#include <stdint.h>
#include "C-translit.h"
diff --git a/locale/C-time.c b/locale/C-time.c
index a19623f567..6f76deb6e5 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#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 d7ec7784ba..98f66e28fc 100644
--- a/locale/C-translit.h
+++ b/locale/C-translit.h
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
#define NTRANSLIT 1355
static const uint32_t translit_from_idx[] =
{
diff --git a/locale/loadarchive.c b/locale/loadarchive.c
index dd70c15bd6..70136dcf95 100644
--- a/locale/loadarchive.c
+++ b/locale/loadarchive.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/param.h>
diff --git a/locale/programs/3level.h b/locale/programs/3level.h
index c8ed119ffd..9b8b1b96ad 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 <http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
/* 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 fd9263117c..6ce9b18e2b 100644
--- a/locale/programs/charmap.c
+++ b/locale/programs/charmap.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <error.h>
+#include <stdint.h>
#include "localedef.h"
#include "linereader.h"
diff --git a/locale/programs/charmap.h b/locale/programs/charmap.h
index 287a7a6670..57a345dea9 100644
--- a/locale/programs/charmap.h
+++ b/locale/programs/charmap.h
@@ -20,6 +20,7 @@
#include <obstack.h>
#include <stdbool.h>
+#include <stdint.h>
#include "repertoire.h"
#include "simple-hash.h"
diff --git a/locale/programs/ld-address.c b/locale/programs/ld-address.c
index bb50395c5e..39b9a836f4 100644
--- a/locale/programs/ld-address.c
+++ b/locale/programs/ld-address.c
@@ -23,6 +23,7 @@
#include <error.h>
#include <langinfo.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index aa9eb4ad6a..6894a7c181 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -23,6 +23,7 @@
#include <error.h>
#include <stdlib.h>
#include <wchar.h>
+#include <stdint.h>
#include <sys/param.h>
#include "localedef.h"
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index 23880bad27..8be7fce887 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -29,6 +29,7 @@
#include <string.h>
#include <wchar.h>
#include <wctype.h>
+#include <stdint.h>
#include <sys/uio.h>
#include "localedef.h"
diff --git a/locale/programs/ld-identification.c b/locale/programs/ld-identification.c
index ca69ded0e2..2589675390 100644
--- a/locale/programs/ld-identification.c
+++ b/locale/programs/ld-identification.c
@@ -23,6 +23,7 @@
#include <langinfo.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-measurement.c b/locale/programs/ld-measurement.c
index 005df4ac32..4aa0ea99a7 100644
--- a/locale/programs/ld-measurement.c
+++ b/locale/programs/ld-measurement.c
@@ -22,6 +22,7 @@
#include <error.h>
#include <langinfo.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-messages.c b/locale/programs/ld-messages.c
index 833adb43a0..f1b9f93f26 100644
--- a/locale/programs/ld-messages.c
+++ b/locale/programs/ld-messages.c
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <regex.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-monetary.c b/locale/programs/ld-monetary.c
index aed175aee9..4dfca3dd7b 100644
--- a/locale/programs/ld-monetary.c
+++ b/locale/programs/ld-monetary.c
@@ -24,6 +24,7 @@
#include <limits.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-name.c b/locale/programs/ld-name.c
index de44775056..207bf0194e 100644
--- a/locale/programs/ld-name.c
+++ b/locale/programs/ld-name.c
@@ -21,6 +21,7 @@
#include <langinfo.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-numeric.c b/locale/programs/ld-numeric.c
index b864b0e74a..929409cb7a 100644
--- a/locale/programs/ld-numeric.c
+++ b/locale/programs/ld-numeric.c
@@ -21,6 +21,7 @@
#include <langinfo.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c
index 32285ded83..c6239dfd9d 100644
--- a/locale/programs/ld-paper.c
+++ b/locale/programs/ld-paper.c
@@ -22,6 +22,7 @@
#include <error.h>
#include <langinfo.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-telephone.c b/locale/programs/ld-telephone.c
index 172ad577a2..4452750921 100644
--- a/locale/programs/ld-telephone.c
+++ b/locale/programs/ld-telephone.c
@@ -22,6 +22,7 @@
#include <error.h>
#include <langinfo.h>
#include <string.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
index 94486476db..45e36c6719 100644
--- a/locale/programs/ld-time.c
+++ b/locale/programs/ld-time.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
+#include <stdint.h>
#include <sys/uio.h>
#include <assert.h>
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
index 7fde46a449..4773d4cac4 100644
--- a/locale/programs/linereader.c
+++ b/locale/programs/linereader.c
@@ -26,6 +26,7 @@
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include "localedef.h"
#include "charmap.h"
diff --git a/locale/programs/locale.c b/locale/programs/locale.c
index 8dc528c115..14d34e693d 100644
--- a/locale/programs/locale.c
+++ b/locale/programs/locale.c
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/stat.h>
diff --git a/locale/programs/locarchive.c b/locale/programs/locarchive.c
index 70dce9bfd5..d31472d908 100644
--- a/locale/programs/locarchive.c
+++ b/locale/programs/locarchive.c
@@ -34,6 +34,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
index 4165a7212b..83bf421ece 100644
--- a/locale/programs/locfile.h
+++ b/locale/programs/locfile.h
@@ -18,6 +18,7 @@
#ifndef _LOCFILE_H
#define _LOCFILE_H 1
+#include <stdint.h>
#include <sys/uio.h>
#include "linereader.h"
diff --git a/locale/programs/repertoire.c b/locale/programs/repertoire.c
index bc65672dba..be77b3e44e 100644
--- a/locale/programs/repertoire.c
+++ b/locale/programs/repertoire.c
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include "localedef.h"
#include "linereader.h"
diff --git a/locale/programs/simple-hash.c b/locale/programs/simple-hash.c
index d65b6fb3f0..30b1508bdb 100644
--- a/locale/programs/simple-hash.c
+++ b/locale/programs/simple-hash.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/types.h>
#if HAVE_OBSTACK
diff --git a/locale/programs/simple-hash.h b/locale/programs/simple-hash.h
index 644d015fff..2ee22253e1 100644
--- a/locale/programs/simple-hash.h
+++ b/locale/programs/simple-hash.h
@@ -20,6 +20,7 @@
#include <inttypes.h>
#include <obstack.h>
+#include <stdint.h>
typedef struct hash_table
{
diff --git a/malloc/memusage.c b/malloc/memusage.c
index 0e40878ac3..e32f6ba030 100644
--- a/malloc/memusage.c
+++ b/malloc/memusage.c
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/time.h>
diff --git a/malloc/memusagestat.c b/malloc/memusagestat.c
index daeba1dc0a..b244ef6432 100644
--- a/malloc/memusagestat.c
+++ b/malloc/memusagestat.c
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/nis/nis_defaults.c b/nis/nis_defaults.c
index f035e41ea2..ff84faea4a 100644
--- a/nis/nis_defaults.c
+++ b/nis/nis_defaults.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpcsvc/nis.h>
diff --git a/nis/nis_hash.c b/nis/nis_hash.c
index e26b6b0628..d8a6d06fdd 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include <rpcsvc/nis.h>
/* 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 1e9ab9e5f0..d24dcdec27 100644
--- a/nis/nis_print.c
+++ b/nis/nis_print.c
@@ -19,6 +19,7 @@
#include <time.h>
#include <string.h>
#include <libintl.h>
+#include <stdint.h>
#include <rpcsvc/nis.h>
diff --git a/nis/nis_xdr.c b/nis/nis_xdr.c
index efebef36fd..10c913c5cc 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include <rpcsvc/nis.h>
#include <rpcsvc/nis_callback.h> /* for "official" Solaris xdr functions */
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 597b3bdee3..6e5ca4cfa0 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * pthread_create.c: Add missing #include <stdint.h> due to uint64_t or
+ uint32_t usage.
+ * sysdeps/pthread/createthread.c: Likewise.
+
2013-05-14 Andreas Jaeger <aj@suse.de>
[BZ #10686]
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index c43077fe2d..b78bd95c46 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -21,6 +21,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include "pthreadP.h"
#include <hp-timing.h>
#include <ldsodefs.h>
diff --git a/nptl/sysdeps/pthread/createthread.c b/nptl/sysdeps/pthread/createthread.c
index b0f686d25f..d24136b0e3 100644
--- a/nptl/sysdeps/pthread/createthread.c
+++ b/nptl/sysdeps/pthread/createthread.c
@@ -23,6 +23,7 @@
#include <atomic.h>
#include <ldsodefs.h>
#include <tls.h>
+#include <stdint.h>
#include "kernel-features.h"
diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog
index 6951395c4a..34462ceb85 100644
--- a/nptl_db/ChangeLog
+++ b/nptl_db/ChangeLog
@@ -1,3 +1,16 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * db_info.c: Add missing #include <stdint.h> 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 <joseph@codesourcery.com>
* All files with FSF copyright notices: Update copyright dates
diff --git a/nptl_db/db_info.c b/nptl_db/db_info.c
index b01984860a..31c8d88e1d 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include "thread_dbP.h"
#include <tls.h>
diff --git a/nptl_db/fetch-value.c b/nptl_db/fetch-value.c
index 5ea8437802..5986612cdf 100644
--- a/nptl_db/fetch-value.c
+++ b/nptl_db/fetch-value.c
@@ -19,6 +19,7 @@
#include "thread_dbP.h"
#include <byteswap.h>
#include <assert.h>
+#include <stdint.h>
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 058ac2cd7c..cf24a1b0ae 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include "thread_dbP.h"
diff --git a/nptl_db/td_ta_set_event.c b/nptl_db/td_ta_set_event.c
index 6d9b5912ae..6729ffb75b 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include "thread_dbP.h"
diff --git a/nptl_db/td_ta_tsd_iter.c b/nptl_db/td_ta_tsd_iter.c
index 92414cd570..e3f7ffeab8 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include "thread_dbP.h"
#include <alloca.h>
diff --git a/nptl_db/td_thr_clear_event.c b/nptl_db/td_thr_clear_event.c
index 3e4c30b650..bb6739d17f 100644
--- a/nptl_db/td_thr_clear_event.c
+++ b/nptl_db/td_thr_clear_event.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <stddef.h>
+#include <stdint.h>
#include "thread_dbP.h"
diff --git a/nptl_db/td_thr_get_info.c b/nptl_db/td_thr_get_info.c
index d17a0d7b15..18d0a2b18f 100644
--- a/nptl_db/td_thr_get_info.c
+++ b/nptl_db/td_thr_get_info.c
@@ -19,6 +19,7 @@
#include <stddef.h>
#include <string.h>
+#include <stdint.h>
#include "thread_dbP.h"
diff --git a/nptl_db/td_thr_set_event.c b/nptl_db/td_thr_set_event.c
index a0634b284b..b833c6ca9c 100644
--- a/nptl_db/td_thr_set_event.c
+++ b/nptl_db/td_thr_set_event.c
@@ -18,6 +18,7 @@
<http://www.gnu.org/licenses/>. */
#include <stddef.h>
+#include <stdint.h>
#include "thread_dbP.h"
diff --git a/nptl_db/td_thr_tsd.c b/nptl_db/td_thr_tsd.c
index c8d05538f7..79e39d3284 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include "thread_dbP.h"
diff --git a/nscd/connections.c b/nscd/connections.c
index 56c327971b..7099215916 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdint.h>
#include <arpa/inet.h>
#ifdef HAVE_NETLINK
# include <linux/netlink.h>
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index ca2145212d..0d421fcbbb 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -29,6 +29,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <stdint.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <sys/mman.h>
diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c
index 4ede24b194..e07f62236a 100644
--- a/nscd/nscd_gethst_r.c
+++ b/nscd/nscd_gethst_r.c
@@ -20,6 +20,7 @@
#include <resolv.h>
#include <stdio.h>
#include <string.h>
+#include <stdint.h>
#include <arpa/nameser.h>
#include <not-cancel.h>
diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c
index f79bd42e1a..c9c890c63c 100644
--- a/nscd/nscd_getserv_r.c
+++ b/nscd/nscd_getserv_r.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <not-cancel.h>
#include <_itoa.h>
+#include <stdint.h>
#include "nscd-client.h"
#include "nscd_proto.h"
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c
index ba58893560..8587e4549c 100644
--- a/nscd/nscd_helper.c
+++ b/nscd/nscd_helper.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/poll.h>
#include <sys/socket.h>
diff --git a/nscd/servicescache.c b/nscd/servicescache.c
index ebb8c454f6..b7738a7cb4 100644
--- a/nscd/servicescache.c
+++ b/nscd/servicescache.c
@@ -22,6 +22,7 @@
#include <libintl.h>
#include <netdb.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <kernel-features.h>
diff --git a/nss/makedb.c b/nss/makedb.c
index 13bd8461d4..bfc9084425 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <sys/param.h>
#include <sys/stat.h>
diff --git a/nss/nss_db/db-XXX.c b/nss/nss_db/db-XXX.c
index 9399ce205a..40b5ce9be7 100644
--- a/nss/nss_db/db-XXX.c
+++ b/nss/nss_db/db-XXX.c
@@ -18,6 +18,7 @@
#include <dlfcn.h>
#include <fcntl.h>
+#include <stdint.h>
#include <sys/mman.h>
#include <bits/libc-lock.h>
#include "nsswitch.h"
diff --git a/nss/nss_db/db-initgroups.c b/nss/nss_db/db-initgroups.c
index 3038b2ed17..d0d73f0af9 100644
--- a/nss/nss_db/db-initgroups.c
+++ b/nss/nss_db/db-initgroups.c
@@ -24,6 +24,7 @@
#include <paths.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <sys/param.h>
#include "nss_db.h"
diff --git a/nss/nss_db/db-netgrp.c b/nss/nss_db/db-netgrp.c
index 8a5da381ce..203529f4c8 100644
--- a/nss/nss_db/db-netgrp.c
+++ b/nss/nss_db/db-netgrp.c
@@ -23,6 +23,7 @@
#include <fcntl.h>
#include <netgroup.h>
#include <string.h>
+#include <stdint.h>
#include <bits/libc-lock.h>
#include <paths.h>
#include <stdlib.h>
diff --git a/nss/nss_files/files-network.c b/nss/nss_files/files-network.c
index 87ad5d3747..f18e9e174d 100644
--- a/nss/nss_files/files-network.c
+++ b/nss/nss_files/files-network.c
@@ -19,6 +19,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <stdint.h>
#define ENTNAME netent
#define DATABASE "networks"
diff --git a/nss/nss_files/files-parse.c b/nss/nss_files/files-parse.c
index 8ba277f7a5..91f32da8b8 100644
--- a/nss/nss_files/files-parse.c
+++ b/nss/nss_files/files-parse.c
@@ -20,6 +20,7 @@
#include <errno.h>
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
/* These symbols are defined by the including source file:
diff --git a/ports/ChangeLog.am33 b/ports/ChangeLog.am33
index 42548b2c2b..9c5dba338b 100644
--- a/ports/ChangeLog.am33
+++ b/ports/ChangeLog.am33
@@ -1,3 +1,8 @@
+2013-05-01 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/am33/atomicity.h: Add missing #include <stdint.h> due to
+ uint64_t or uint32_t usage.
+
2013-03-11 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/am33/bits/mman.h: Remove all defines
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index ce5fc360b1..81b2a56eee 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,8 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Add missing #include
+ <stdint.h> due to uint64_t or uint32_t usage.
+
2013-05-14 Joseph Myers <joseph@codesourcery.com>
[BZ #14908]
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index b221512655..472ae21fb2 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,9 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
+ #include <stdint.h> due to uint64_t or uint32_t usage.
+ * sysdeps/mips/bits/atomic.h: Likewise.
+
2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
* sysdeps/mips/math_private.h: New file.
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index f63bde486b..5cfa0b15fb 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,3 +1,9 @@
+2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/tile/tilegx/memusage.h: Add missing #include <stdint.h> due
+ to uint64_t or uint32_t usage.
+ * sysdeps/tile/tilegx/string-endian.h: Likewise.
+
2013-03-11 Andreas Schwab <schwab@suse.de>
[BZ #15234]
diff --git a/ports/sysdeps/am33/atomicity.h b/ports/sysdeps/am33/atomicity.h
index 12f72eff91..e9705a25df 100644
--- a/ports/sysdeps/am33/atomicity.h
+++ b/ports/sysdeps/am33/atomicity.h
@@ -22,6 +22,7 @@
#define _ATOMICITY_H 1
#include <inttypes.h>
+#include <stdint.h>
#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 bdc3acef7b..7c735f7262 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 <stdint.h>
#include <inttypes.h>
#include <sgidefs.h>
diff --git a/ports/sysdeps/tile/tilegx/memusage.h b/ports/sysdeps/tile/tilegx/memusage.h
index 863b229f86..a81916c219 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include <arch/spr_def.h>
#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 ee9bd1620a..69ca5fedf2 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 <stdint.h>
+
#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 c76b8f3c2d..ae486e1f21 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
/* 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 77ffaf68df..e870b207de 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 <stdint.h>
+
/* Linux kernel RT signal frame. */
typedef struct kernel_rt_sigframe
{
diff --git a/posix/bug-regex5.c b/posix/bug-regex5.c
index f199ffbfd3..fd18b19df4 100644
--- a/posix/bug-regex5.c
+++ b/posix/bug-regex5.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
+#include <stdint.h>
#include <locale.h>
#include <locale/localeinfo.h>
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index ef3c882a61..6c4301df13 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
struct STRUCT
{
const CHAR *pattern;
diff --git a/posix/regcomp.c b/posix/regcomp.c
index 578044155b..0ffc2fad8b 100644
--- a/posix/regcomp.c
+++ b/posix/regcomp.c
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 5ca2bf67a0..f85c5e8017 100644
--- a/posix/regexec.c
+++ b/posix/regexec.c
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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 a37be36e6a..fcf8a8cd60 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <ifaddrs.h>
+#include <stdint.h>
/* 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 493e76015c..86d59be1ab 100644
--- a/posix/tst-rfc3484-3.c
+++ b/posix/tst-rfc3484-3.c
@@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <ifaddrs.h>
+#include <stdint.h>
/* 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 db3ae1b7bb..2726fa0ad9 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <ifaddrs.h>
+#include <stdint.h>
/* 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 090ed7dda2..cdc61b9c6a 100644
--- a/resolv/nss_dns/dns-canon.c
+++ b/resolv/nss_dns/dns-canon.c
@@ -20,6 +20,7 @@
#include <netdb.h>
#include <resolv.h>
#include <stdlib.h>
+#include <stdint.h>
#include <arpa/nameser.h>
#include <nsswitch.h>
diff --git a/resolv/nss_dns/dns-network.c b/resolv/nss_dns/dns-network.c
index 5c725b5f67..3c4db7eec3 100644
--- a/resolv/nss_dns/dns-network.c
+++ b/resolv/nss_dns/dns-network.c
@@ -61,6 +61,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include "nsswitch.h"
#include <arpa/inet.h>
diff --git a/resolv/res_init.c b/resolv/res_init.c
index c58c763841..002dec5c57 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 <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <net/if.h>
diff --git a/resolv/res_mkquery.c b/resolv/res_mkquery.c
index 2bc2d2497f..e2c6a742c0 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 <hp-timing.h>
+# include <stdint.h>
# 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 6cb5960496..4e9caf96f4 100644
--- a/resolv/tst-aton.c
+++ b/resolv/tst-aton.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdint.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/stdlib/cxa_atexit.c b/stdlib/cxa_atexit.c
index 82e33654f9..0a42776dbd 100644
--- a/stdlib/cxa_atexit.c
+++ b/stdlib/cxa_atexit.c
@@ -17,6 +17,7 @@
#include <assert.h>
#include <stdlib.h>
+#include <stdint.h>
#include <bits/libc-lock.h>
#include "exit.h"
diff --git a/stdlib/cxa_finalize.c b/stdlib/cxa_finalize.c
index f2a1c9b12c..2ee890f27a 100644
--- a/stdlib/cxa_finalize.c
+++ b/stdlib/cxa_finalize.c
@@ -21,6 +21,7 @@
#include "exit.h"
#include <fork.h>
#include <sysdep.h>
+#include <stdint.h>
/* 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 f0dd958d59..1ff1baf981 100644
--- a/stdlib/gen-fpioconst.c
+++ b/stdlib/gen-fpioconst.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include <gmp.h>
+#include <stdint.h>
int
main (void)
diff --git a/stdlib/strtol_l.c b/stdlib/strtol_l.c
index dc6829f59c..874708ab00 100644
--- a/stdlib/strtol_l.c
+++ b/stdlib/strtol_l.c
@@ -43,6 +43,7 @@
#include <string.h>
#include <locale.h>
#include <xlocale.h>
+#include <stdint.h>
#include <bits/wordsize.h>
#ifdef USE_NUMBER_GROUPING
diff --git a/string/tst-endian.c b/string/tst-endian.c
index c34dc456a7..8684bb232b 100644
--- a/string/tst-endian.c
+++ b/string/tst-endian.c
@@ -2,7 +2,7 @@
#include <endian.h>
#include <inttypes.h>
#include <stdio.h>
-
+#include <stdint.h>
static int
do_test (void)
diff --git a/sunrpc/auth_des.c b/sunrpc/auth_des.c
index 0408d60826..b299c456d6 100644
--- a/sunrpc/auth_des.c
+++ b/sunrpc/auth_des.c
@@ -33,6 +33,7 @@
*/
#include <string.h>
+#include <stdint.h>
#include <rpc/des_crypt.h>
#include <rpc/types.h>
#include <rpc/auth.h>
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index 8890cc6cfc..7fc077730d 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -42,6 +42,7 @@
#include <sys/ioctl.h>
#include <netdb.h>
#include <errno.h>
+#include <stdint.h>
#include <rpc/pmap_clnt.h>
#include <net/if.h>
#include <ifaddrs.h>
diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c
index bcb280b48f..d224624f8b 100644
--- a/sunrpc/rtime.c
+++ b/sunrpc/rtime.c
@@ -39,6 +39,7 @@
*/
#include <stdio.h>
#include <unistd.h>
+#include <stdint.h>
#include <rpc/rpc.h>
#include <rpc/clnt.h>
#include <sys/types.h>
diff --git a/sunrpc/svcauth_des.c b/sunrpc/svcauth_des.c
index 9609734960..a0f961db12 100644
--- a/sunrpc/svcauth_des.c
+++ b/sunrpc/svcauth_des.c
@@ -43,6 +43,7 @@
#include <limits.h>
#include <string.h>
+#include <stdint.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <rpc/rpc.h>
diff --git a/sunrpc/xdr.c b/sunrpc/xdr.c
index 7eac2d40f0..b3f96ca4dc 100644
--- a/sunrpc/xdr.c
+++ b/sunrpc/xdr.c
@@ -40,6 +40,7 @@
#include <string.h>
#include <libintl.h>
#include <wchar.h>
+#include <stdint.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
diff --git a/sunrpc/xdr_intXX_t.c b/sunrpc/xdr_intXX_t.c
index 39604c95b0..9de567cab4 100644
--- a/sunrpc/xdr_intXX_t.c
+++ b/sunrpc/xdr_intXX_t.c
@@ -21,6 +21,7 @@
/* We play dirty tricks with aliases. */
#include <rpc/xdr.h>
+#include <stdint.h>
/* XDR 64bit integers */
bool_t
diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c
index f5d6ef2af9..9d79ace4b7 100644
--- a/sunrpc/xdr_rec.c
+++ b/sunrpc/xdr_rec.c
@@ -45,6 +45,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <rpc/rpc.h>
#include <libintl.h>
#include <wchar.h>
diff --git a/sysdeps/generic/ldconfig.h b/sysdeps/generic/ldconfig.h
index ca3f0e430f..d96089d492 100644
--- a/sysdeps/generic/ldconfig.h
+++ b/sysdeps/generic/ldconfig.h
@@ -19,6 +19,8 @@
#ifndef _LDCONFIG_H
#define _LDCONFIG_H
+#include <stdint.h>
+
#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 c7a20ba668..3f44809802 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -26,6 +26,7 @@
#define __need_NULL
#include <stddef.h>
#include <string.h>
+#include <stdint.h>
#include <elf.h>
#include <dlfcn.h>
diff --git a/sysdeps/generic/memusage.h b/sysdeps/generic/memusage.h
index 849f6e6bf0..631287827a 100644
--- a/sysdeps/generic/memusage.h
+++ b/sysdeps/generic/memusage.h
@@ -18,6 +18,7 @@
#include <limits.h>
#include <atomic.h>
+#include <stdint.h>
#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 a630d10fe2..f686bb6706 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 <math.h>
#include <math_private.h>
+#include <stdint.h>
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 488a0efaed..dcb7b58a1b 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 <math.h>
#include <math_private.h>
+#include <stdint.h>
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 b66085eb1b..4f9219934a 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 <math_private.h>
+#include <stdint.h>
#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 f25ede8f9c..fcf2e6d5b6 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 <math.h>
#include <math_private.h>
+#include <stdint.h>
#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 5beccb0acc..914a3c823a 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 <math.h>
#include <math_private.h>
+#include <stdint.h>
/*
* 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 70a620cf64..e80b84ca02 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 <math.h>
#include <math_private.h>
+#include <stdint.h>
#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 89743168cb..c309e56272 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 <math.h>
#include <math_private.h>
+#include <stdint.h>
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 e9ae82bdbb..29e62874bb 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 <math.h>
#include <math_private.h>
-
+#include <stdint.h>
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 df674670ed..bea7960835 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 <math.h>
#include <math_private.h>
-
+#include <stdint.h>
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 1cce1fc4dc..58eb57cd63 100644
--- a/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
+++ b/sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
@@ -4,6 +4,7 @@
#include <sysdeps/ieee754/ldbl-128/math_ldbl.h>
#include <ieee754.h>
+#include <stdint.h>
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 d3683066ae..ab135ada7f 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 <stdio_ext.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <netinet/in.h>
diff --git a/sysdeps/powerpc/fpu/e_hypot.c b/sysdeps/powerpc/fpu/e_hypot.c
index d8568d6e3f..53419337ff 100644
--- a/sysdeps/powerpc/fpu/e_hypot.c
+++ b/sysdeps/powerpc/fpu/e_hypot.c
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
+#include <stdint.h>
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 93055afce5..3ccd385316 100644
--- a/sysdeps/powerpc/fpu/e_hypotf.c
+++ b/sysdeps/powerpc/fpu/e_hypotf.c
@@ -19,7 +19,7 @@
#include <math.h>
#include <math_private.h>
-
+#include <stdint.h>
static const float two30 = 1.0737418e09;
diff --git a/sysdeps/powerpc/fpu/e_sqrt.c b/sysdeps/powerpc/fpu/e_sqrt.c
index 97bb870362..3efe277f37 100644
--- a/sysdeps/powerpc/fpu/e_sqrt.c
+++ b/sysdeps/powerpc/fpu/e_sqrt.c
@@ -20,7 +20,7 @@
#include <math_private.h>
#include <fenv_libc.h>
#include <inttypes.h>
-
+#include <stdint.h>
#include <sysdep.h>
#include <ldsodefs.h>
diff --git a/sysdeps/powerpc/fpu/e_sqrtf.c b/sysdeps/powerpc/fpu/e_sqrtf.c
index 3b2e243bb8..6e50a3cd75 100644
--- a/sysdeps/powerpc/fpu/e_sqrtf.c
+++ b/sysdeps/powerpc/fpu/e_sqrtf.c
@@ -20,7 +20,7 @@
#include <math_private.h>
#include <fenv_libc.h>
#include <inttypes.h>
-
+#include <stdint.h>
#include <sysdep.h>
#include <ldsodefs.h>
diff --git a/sysdeps/powerpc/test-gettimebase.c b/sysdeps/powerpc/test-gettimebase.c
index 88049c69c7..3ce55c7f0f 100644
--- a/sysdeps/powerpc/test-gettimebase.c
+++ b/sysdeps/powerpc/test-gettimebase.c
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdio.h>
+#include <stdint.h>
#include <sys/platform/ppc.h>
diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c
index 8bc025b041..34c21461bb 100644
--- a/sysdeps/unix/sysv/linux/check_pf.c
+++ b/sysdeps/unix/sysv/linux/check_pf.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/socket.h>
#include <asm/types.h>
diff --git a/sysdeps/unix/sysv/linux/getipv4sourcefilter.c b/sysdeps/unix/sysv/linux/getipv4sourcefilter.c
index 5c90caa8af..99082483ba 100644
--- a/sysdeps/unix/sysv/linux/getipv4sourcefilter.c
+++ b/sysdeps/unix/sysv/linux/getipv4sourcefilter.c
@@ -21,6 +21,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <netinet/in.h>
#include <sys/param.h>
#include <sys/socket.h>
diff --git a/sysdeps/unix/sysv/linux/getsourcefilter.c b/sysdeps/unix/sysv/linux/getsourcefilter.c
index 063d6c6509..682f424899 100644
--- a/sysdeps/unix/sysv/linux/getsourcefilter.c
+++ b/sysdeps/unix/sysv/linux/getsourcefilter.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <netatalk/at.h>
#include <netax25/ax25.h>
#include <netinet/in.h>
diff --git a/sysdeps/unix/sysv/linux/netlinkaccess.h b/sysdeps/unix/sysv/linux/netlinkaccess.h
index 7c1deb9b7a..e0da57a0c5 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 <stdint.h>
#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c b/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
index 779ea49c8e..344496b7ea 100644
--- a/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
+++ b/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdio.h>
+#include <stdint.h>
#include <sys/platform/ppc.h>
diff --git a/sysdeps/unix/sysv/linux/preadv.c b/sysdeps/unix/sysv/linux/preadv.c
index 219c6632ae..e92af92eb9 100644
--- a/sysdeps/unix/sysv/linux/preadv.c
+++ b/sysdeps/unix/sysv/linux/preadv.c
@@ -18,6 +18,7 @@
#include <errno.h>
#include <stddef.h>
#include <sys/param.h>
+#include <stdint.h>
#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 51b46d66b2..8dcd21675e 100644
--- a/sysdeps/unix/sysv/linux/pwritev.c
+++ b/sysdeps/unix/sysv/linux/pwritev.c
@@ -17,6 +17,7 @@
#include <errno.h>
#include <stddef.h>
+#include <stdint.h>
#include <sys/param.h>
#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 ff32863102..a9b4d3b4b7 100644
--- a/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
+++ b/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
@@ -21,6 +21,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <netinet/in.h>
#include <sys/socket.h>
diff --git a/sysdeps/unix/sysv/linux/setsourcefilter.c b/sysdeps/unix/sysv/linux/setsourcefilter.c
index 5ae37314bb..f50f293cf0 100644
--- a/sysdeps/unix/sysv/linux/setsourcefilter.c
+++ b/sysdeps/unix/sysv/linux/setsourcefilter.c
@@ -21,6 +21,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <stdint.h>
#include <netinet/in.h>
#include <sys/socket.h>
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 7f6dee309f..32cb0aa074 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 <sys/prctl.h>
#include <sys/syscall.h>
#include <sysdep.h>
+#include <stdint.h>
/* 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 2bb3e6fe62..af861c0ad4 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
/* 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 ea584bf5a1..a6c0596219 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
#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 59fce11b84..7cd5119af0 100644
--- a/time/alt_digit.c
+++ b/time/alt_digit.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
+#include <stdint.h>
/* 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 d272374474..d10af8b1a5 100644
--- a/time/era.c
+++ b/time/era.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
+#include <stdint.h>
/* 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 f4534c5d93..3b1c1d674c 100644
--- a/wcsmbs/tst-c16c32-1.c
+++ b/wcsmbs/tst-c16c32-1.c
@@ -2,7 +2,7 @@
#include <locale.h>
#include <stdio.h>
#include <uchar.h>
-
+#include <stdint.h>
static int
do_test (void)