aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-04-29 18:48:43 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-04-29 18:48:43 -0500
commit4eb401a9c95a1313baad1393b0c3e0508b5d3f9a (patch)
tree1a9c88ef3d25a70b2c0d51fc0c090014ba261dca
parentf2da7793096c58b30ca57380da4c1343cabc4044 (diff)
downloadtermbaud-rsa/stdint.tar.gz
termbaud-rsa/stdint.tar.xz
termbaud-rsa/stdint.zip
Add #include <stdint.h> for uint[32|64]_t usage.rsa/stdint
-rw-r--r--ChangeLog246
-rw-r--r--bits/elfclass.h1
-rw-r--r--bits/netdb.h1
-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/netinet/icmp6.h1
-rw-r--r--inet/netinet/ip6.h1
-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/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--nis/rpcsvc/nis.h1
-rw-r--r--nis/rpcsvc/nislib.h1
-rw-r--r--nptl/pthread_create.c1
-rw-r--r--nptl/sysdeps/pthread/createthread.c1
-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/sysdeps/aarch64/bits/link.h2
-rw-r--r--ports/sysdeps/alpha/bits/link.h1
-rw-r--r--ports/sysdeps/am33/atomicity.h1
-rw-r--r--ports/sysdeps/arm/bits/link.h1
-rw-r--r--ports/sysdeps/hppa/bits/link.h2
-rw-r--r--ports/sysdeps/ia64/bits/link.h2
-rw-r--r--ports/sysdeps/m68k/bits/link.h1
-rw-r--r--ports/sysdeps/microblaze/bits/link.h2
-rw-r--r--ports/sysdeps/mips/bits/atomic.h1
-rw-r--r--ports/sysdeps/mips/bits/link.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/alpha/bits/elfclass.h1
-rw-r--r--ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h1
-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/rpc/auth_des.h1
-rw-r--r--sunrpc/rpc/xdr.h1
-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/bits/link.h1
-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/s390/bits/link.h1
-rw-r--r--sysdeps/sh/bits/link.h1
-rw-r--r--sysdeps/sparc/bits/link.h2
-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/bits/ppc.h2
-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/s390/bits/elfclass.h1
-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/bits/link.h1
-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
238 files changed, 560 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 207fe4ff6ed..fe470b2e305 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,249 @@
+2013-04-29 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * crypt/sha512-block.c: Add missing #include <stdint.h> due to
+ uint64_t usage.
+ * crypt/sha512-crypt.c: Likewise.
+ * crypt/sha512.c: Likewise.
+ * debug/pcprofiledump.c: Likewise.
+ * elf/cache.c: Likewise.
+ * elf/dl-cache.c: Likewise.
+ * elf/dl-support.c: Likewise.
+ * elf/ldconfig.c: Likewise.
+ * inet/test-inet6_opt.c: Likewise.
+ * malloc/memusage.c: Likewise.
+ * malloc/memusagestat.c: Likewise.
+ * nptl_db/fetch-value.c: Likewise.
+ * nscd/connections.c: Likewise.
+ * nscd/nscd_helper.c: Likewise.
+ * nss/makedb.c: Likewise.
+ * ports/sysdeps/aarch64/bits/link.h: Likewise.
+ * ports/sysdeps/alpha/bits/link.h: Likewise.
+ * ports/sysdeps/ia64/bits/link.h: Likewise.
+ * ports/sysdeps/mips/bits/atomic.h: Likewise.
+ * ports/sysdeps/mips/bits/link.h: Likewise.
+ * ports/sysdeps/tile/tilegx/memusage.h: Likewise.
+ * ports/sysdeps/tile/tilegx/string-endian.h: Likewise.
+ * ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h: Likewise.
+ * posix/regcomp.c: Likewise.
+ * resolv/res_mkquery.c: Likewise.
+ * stdlib/cxa_atexit.c: Likewise.
+ * stdlib/cxa_finalize.c: Likewise.
+ * stdlib/gen-fpioconst.c: Likewise.
+ * string/tst-endian.c: Likewise.
+ * sunrpc/rpc/xdr.h: Likewise.
+ * sunrpc/xdr_intXX_t.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/powerpc/bits/link.h: Likewise.
+ * sysdeps/powerpc/test-gettimebase.c: Likewise.
+ * sysdeps/s390/bits/link.h: Likewise.
+ * sysdeps/sparc/bits/link.h: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/bits/ppc.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/s390/bits/elfclass.h: Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
+ * sysdeps/x86/bits/link.h: Likewise.
+ * sysdeps/x86_64/dl-tls.h: Likewise.
+ * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
+
+ * bits/netdb.h: Add missing #include <stdint.h> due to uint32_t usage.
+ * bits/elfclass.h: Likewise.
+ * crypt/sha256.c: Likewise.
+ * crypt/sha256-block.c: Likewise.
+ * crypt/sha256-crypt.c: Likewise.
+ * debug/backtrace-tst.c: Likewise.
+ * elf/sprof.c: Likewise.
+ * elf/dl-misc.c: Likewise.
+ * elf/dl-profile.c: Likewise.
+ * iconv/dummy-repertoire.c: Likewise.
+ * iconv/skeleton.c: Likewise.
+ * iconv/iconv_charmap.c: Likewise.
+ * iconvdata/ibm1137.h: Likewise.
+ * iconvdata/ibm1161.h: Likewise.
+ * iconvdata/ibm922.h: Likewise.
+ * iconvdata/ibm9066.h: Likewise.
+ * iconvdata/ibm16804.h: Likewise.
+ * iconvdata/ibm1163.h: Likewise.
+ * iconvdata/ibm1141.h: Likewise.
+ * iconvdata/ibm1144.h: Likewise.
+ * iconvdata/ibm1145.h: Likewise.
+ * iconvdata/ibm1156.h: Likewise.
+ * iconvdata/ibm1140.h: Likewise.
+ * iconvdata/ibm4517.h: Likewise.
+ * iconvdata/ibm4971.h: Likewise.
+ * iconvdata/cp775.h: Likewise.
+ * iconvdata/cp737.h: Likewise.
+ * iconvdata/jis0201.h: Likewise.
+ * iconvdata/ibm1154.h: Likewise.
+ * iconvdata/ibm1124.h: Likewise.
+ * iconvdata/isiri-3342.h: Likewise.
+ * iconvdata/ibm1143.h: Likewise.
+ * iconvdata/ibm1149.h: Likewise.
+ * iconvdata/ibm1122.h: Likewise.
+ * iconvdata/ibm5347.h: Likewise.
+ * iconvdata/ibm856.h: Likewise.
+ * iconvdata/ibm1129.h: Likewise.
+ * iconvdata/ibm1147.h: Likewise.
+ * iconvdata/ibm1008.h: Likewise.
+ * iconvdata/ibm1112.h: Likewise.
+ * iconvdata/ibm1130.h: Likewise.
+ * iconvdata/ibm1097.h: Likewise.
+ * iconvdata/ibm1162.h: Likewise.
+ * iconvdata/8bit-generic.c: Likewise.
+ * iconvdata/ibm1153.h: Likewise.
+ * iconvdata/ibm902.h: Likewise.
+ * iconvdata/ibm1160.h: Likewise.
+ * iconvdata/ibm1399.h: Likewise.
+ * iconvdata/ibm4909.h: Likewise.
+ * iconvdata/ibm1046.h: Likewise.
+ * iconvdata/ibm1158.h: Likewise.
+ * iconvdata/ibm9448.h: Likewise.
+ * iconvdata/ibm12712.h: Likewise.
+ * iconvdata/ibm1146.h: Likewise.
+ * iconvdata/ibm4899.h: Likewise.
+ * iconvdata/ibm1133.h: Likewise.
+ * iconvdata/ibm1390.h: Likewise.
+ * iconvdata/ibm901.h: Likewise.
+ * iconvdata/ibm1148.h: Likewise.
+ * iconvdata/ibm1155.h: Likewise.
+ * iconvdata/ibm1166.h: Likewise.
+ * iconvdata/ibm1025.h: Likewise.
+ * iconvdata/ibm1164.h: Likewise.
+ * iconvdata/ibm1142.h: Likewise.
+ * iconvdata/ibm9030.h: Likewise.
+ * iconvdata/ibm1167.h: Likewise.
+ * iconvdata/ibm921.h: Likewise.
+ * iconvdata/ibm1157.h: Likewise.
+ * iconvdata/ibm1123.h: Likewise.
+ * iconvdata/ibm1132.h: Likewise.
+ * iconvdata/ibm803.h: Likewise.
+ * include/rpc/xdr.h: Likewise.
+ * include/netdb.h: Likewise.
+ * include/link.h: Likewise.
+ * inet/getnameinfo.c: Likewise.
+ * inet/getsourcefilter.c: Likewise.
+ * inet/tst-network.c: Likewise.
+ * inet/getipv4sourcefilter.c: Likewise.
+ * inet/netinet/icmp6.h: Likewise.
+ * inet/netinet/ip6.h: Likewise.
+ * inet/setipv4sourcefilter.c: Likewise.
+ * inet/setsourcefilter.c: Likewise.
+ * inet/htonl.c: Likewise.
+ * inet/check_native.c: Likewise.
+ * inet/check_pf.c: Likewise.
+ * libidn/stringprep.c: Likewise.
+ * libidn/idna.c: Likewise.
+ * libidn/nfkc.c: Likewise.
+ * locale/C-collate.c: Likewise.
+ * locale/programs/ld-numeric.c: Likewise.
+ * locale/programs/simple-hash.h: Likewise.
+ * locale/programs/locfile.h: Likewise.
+ * locale/programs/repertoire.c: Likewise.
+ * locale/programs/ld-time.c: Likewise.
+ * locale/programs/simple-hash.c: Likewise.
+ * locale/programs/ld-identification.c: Likewise.
+ * locale/programs/ld-telephone.c: Likewise.
+ * locale/programs/linereader.c: Likewise.
+ * locale/programs/ld-name.c: Likewise.
+ * locale/programs/ld-monetary.c: Likewise.
+ * locale/programs/ld-messages.c: Likewise.
+ * locale/programs/ld-ctype.c: Likewise.
+ * locale/programs/ld-collate.c: Likewise.
+ * locale/programs/locale.c: Likewise.
+ * locale/programs/locarchive.c: Likewise.
+ * locale/programs/ld-paper.c: Likewise.
+ * locale/programs/3level.h: Likewise.
+ * locale/programs/charmap.h: Likewise.
+ * locale/programs/ld-address.c: Likewise.
+ * locale/programs/ld-measurement.c: Likewise.
+ * locale/programs/charmap.c: Likewise.
+ * locale/loadarchive.c: Likewise.
+ * locale/C-time.c: Likewise.
+ * locale/C-translit.h: Likewise.
+ * locale/C-ctype.c: Likewise.
+ * manual/socket.texi: Likewise.
+ * nis/nis_hash.c: Likewise.
+ * nis/nis_print.c: Likewise.
+ * nis/rpcsvc/nis.h: Likewise.
+ * nis/rpcsvc/nislib.h: Likewise.
+ * nis/nis_xdr.c: Likewise.
+ * nis/nis_defaults.c: Likewise.
+ * nptl/pthread_create.c: Likewise.
+ * nptl/sysdeps/pthread/createthread.c: Likewise.
+ * nptl_db/td_ta_clear_event.c: Likewise.
+ * nptl_db/td_thr_clear_event.c: Likewise.
+ * nptl_db/td_thr_set_event.c: Likewise.
+ * nptl_db/td_ta_tsd_iter.c: Likewise.
+ * nptl_db/td_thr_tsd.c: Likewise.
+ * nptl_db/td_ta_set_event.c: Likewise.
+ * nptl_db/db_info.c: Likewise.
+ * nptl_db/td_thr_get_info.c: Likewise.
+ * nscd/servicescache.c: Likewise.
+ * nscd/nscd_getserv_r.c: Likewise.
+ * nscd/nscd_gethst_r.c: Likewise.
+ * nscd/hstcache.c: Likewise.
+ * nss/nss_files/files-network.c: Likewise.
+ * nss/nss_files/files-parse.c: Likewise.
+ * nss/nss_db/db-XXX.c: Likewise.
+ * nss/nss_db/db-initgroups.c: Likewise.
+ * nss/nss_db/db-netgrp.c: Likewise.
+ * ports/sysdeps/microblaze/bits/link.h: Likewise.
+ * ports/sysdeps/am33/atomicity.h: Likewise.
+ * ports/sysdeps/hppa/bits/link.h: Likewise.
+ * ports/sysdeps/arm/bits/link.h: Likewise.
+ * ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Likewise.
+ * ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h: Likewise.
+ * ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h: Likewise.
+ * ports/sysdeps/m68k/bits/link.h: Likewise.
+ * posix/fnmatch_loop.c: Likewise.
+ * posix/regexec.c: Likewise.
+ * posix/tst-rfc3484-3.c: Likewise.
+ * posix/tst-rfc3484-2.c: Likewise.
+ * posix/tst-rfc3484.c: Likewise.
+ * posix/bug-regex5.c: Likewise.
+ * resolv/res_init.c: Likewise.
+ * resolv/nss_dns/dns-network.c: Likewise.
+ * resolv/nss_dns/dns-canon.c: Likewise.
+ * resolv/tst-aton.c: Likewise.
+ * scripts/gen-as-const.awk: Likewise.
+ * stdlib/strtol_l.c: Likewise.
+ * sunrpc/rpc/types.h: Likewise.
+ * sunrpc/rpc/auth_des.h: Likewise.
+ * sunrpc/Versions: Likewise.
+ * sunrpc/rtime.c: Likewise.
+ * sunrpc/xdr.c: Likewise.
+ * sunrpc/clnt_udp.c: Likewise.
+ * sunrpc/auth_des.c: Likewise.
+ * sunrpc/xdr_rec.c: Likewise.
+ * sunrpc/svcauth_des.c: Likewise.
+ * sysdeps/posix/getaddrinfo.c: Likewise.
+ * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
+ * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
+ * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
+ * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
+ * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
+ * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
+ * time/alt_digit.c: Likewise.
+ * time/era.c: Likewise.
+ * wcsmbs/tst-c16c32-1.c: Likewise.
+
2013-04-29 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (ERRNO_UNCHANGED): New macro.
diff --git a/bits/elfclass.h b/bits/elfclass.h
index 180227d9e7a..f6ed899e080 100644
--- a/bits/elfclass.h
+++ b/bits/elfclass.h
@@ -7,6 +7,7 @@
#endif
#include <bits/wordsize.h>
+#include <stdint.h>
#define __ELF_NATIVE_CLASS __WORDSIZE
diff --git a/bits/netdb.h b/bits/netdb.h
index fd0e8d140c0..a017437ebf5 100644
--- a/bits/netdb.h
+++ b/bits/netdb.h
@@ -19,6 +19,7 @@
# error "Never include <bits/netdb.h> directly; use <netdb.h> instead."
#endif
+#include <stdint.h>
/* Description of data base entry for a single network. NOTE: here a
poor assumption is made. The network number is expected to fit
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 <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 334f572b10e..c114a534ab1 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 9aa222b7d83..8fb7d476718 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 e7c5cfd7f5c..c542db1c9cb 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 6541a9dbcd5..e09ae4106b7 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 db17ff46710..be20bcc8222 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 ce80685bf8f..cc46c33c3cf 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 43ae347d5ee..ce6096de06a 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 699550bb602..9bf261cd298 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 030fdcaffea..0b68d18b93d 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 a8e9a3f2f05..163649cea14 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 c3faeba4427..9034be229a8 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 7a55b82e340..b3ab9560ad7 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 57c6a6f04da..77898390fa6 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 54dfebdd5a3..60e880c7185 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 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 <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 b1a06109767..66933f121b6 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 c8b14454e95..45beb06d345 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 79a398925bc..c789dc6b2fc 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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 6cd15f69b19..5f2841e08a2 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 94e3ebe110a..323482af696 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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 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
<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 d12aa21a6e0..65a5069dbba 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 1c6f553d59b..6b873d7d1a5 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 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 <stdint.h>
#include <stddef.h>
#include <bits/linkmap.h>
#include <dl-lookupcfg.h>
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 <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 e45a7ffbcfd..46ee837b574 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 6968973eb71..0e506023eac 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 b6bcffe43c2..258829f18f4 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 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 <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 174f326c3ab..662a60ab948 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 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#include <netinet/in.h>
#undef htonl
diff --git a/inet/netinet/icmp6.h b/inet/netinet/icmp6.h
index 49e30de7716..900f8b1d0b3 100644
--- a/inet/netinet/icmp6.h
+++ b/inet/netinet/icmp6.h
@@ -20,6 +20,7 @@
#include <inttypes.h>
#include <string.h>
+#include <stdint.h>
#include <sys/types.h>
#include <netinet/in.h>
diff --git a/inet/netinet/ip6.h b/inet/netinet/ip6.h
index 47c6f02a6e5..61d5ae0f260 100644
--- a/inet/netinet/ip6.h
+++ b/inet/netinet/ip6.h
@@ -19,6 +19,7 @@
#define _NETINET_IP6_H 1
#include <inttypes.h>
+#include <stdint.h>
#include <netinet/in.h>
struct ip6_hdr
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 @@
<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 53f1ec48091..4f9c23f2cd8 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 4db9b593898..3bf319ef0ce 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 af73cd0eebe..6b79e62df6b 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/idna.c b/libidn/idna.c
index daa1a877789..7a15a25b214 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 f144d7bd7e9..6d4a88b63be 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 201489f36ae..d109a71fea6 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 a5c02af8a67..6c7edf074f0 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 95e7b214285..e85625449a9 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 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
<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 d7ec7784ba1..98f66e28fc3 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 dd70c15bd6f..70136dcf958 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 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 <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 fd9263117c3..6ce9b18e2b9 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 287a7a6670e..57a345dea97 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 bb50395c5ef..39b9a836f4a 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 aa9eb4ad6a0..6894a7c1819 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 23880bad27f..8be7fce887b 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 ca69ded0e21..2589675390a 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 005df4ac328..4aa0ea99a71 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 833adb43a03..f1b9f93f266 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 aed175aee98..4dfca3dd7b2 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 de44775056b..207bf0194e6 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 b864b0e74af..929409cb7ac 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 32285ded83f..c6239dfd9d1 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 172ad577a24..44527509218 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 94486476db4..45e36c67192 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 7fde46a4496..4773d4cac4e 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 8dc528c1156..14d34e693d9 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 70dce9bfd52..d31472d9081 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 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 <stdint.h>
#include <sys/uio.h>
#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 <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 d65b6fb3f0a..30b1508bdb1 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 644d015fff8..2ee22253e17 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 0e40878ac33..e32f6ba030d 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 daeba1dc0ad..b244ef6432d 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 f035e41ea22..ff84faea4a3 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 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
<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 1e9ab9e5f0b..d24dcdec274 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 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
<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/nis/rpcsvc/nis.h b/nis/rpcsvc/nis.h
index 5c5c7bb41b5..8c1037fb116 100644
--- a/nis/rpcsvc/nis.h
+++ b/nis/rpcsvc/nis.h
@@ -33,6 +33,7 @@
#define _RPCSVC_NIS_H 1
#include <features.h>
+#include <stdint.h>
#include <rpc/rpc.h>
#include <rpcsvc/nis_tags.h>
diff --git a/nis/rpcsvc/nislib.h b/nis/rpcsvc/nislib.h
index 2f6fd768b3b..0c10131fb25 100644
--- a/nis/rpcsvc/nislib.h
+++ b/nis/rpcsvc/nislib.h
@@ -20,6 +20,7 @@
#define __RPCSVC_NISLIB_H__
#include <features.h>
+#include <stdint.h>
__BEGIN_DECLS
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 <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 b0f686d25f7..d24136b0e34 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/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
<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 5ea84378026..5986612cdff 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 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
<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 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
<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 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
<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 3e4c30b6505..bb6739d17f7 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 d17a0d7b153..18d0a2b18ff 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 a0634b284be..b833c6ca9c8 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 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
#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 <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 ca2145212d4..0d421fcbbb5 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 4ede24b1943..e07f62236a9 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 f79bd42e1ad..c9c890c63cd 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 ba588935608..8587e4549c8 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 ebb8c454f66..b7738a7cb48 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 13bd8461d4c..bfc90844255 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 9399ce205a9..40b5ce9be7f 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 3038b2ed17d..d0d73f0af9e 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 8a5da381ceb..203529f4c81 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 87ad5d37474..f18e9e174d2 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 8ba277f7a51..91f32da8b8b 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/sysdeps/aarch64/bits/link.h b/ports/sysdeps/aarch64/bits/link.h
index 3408c5b239c..bdbecb15906 100644
--- a/ports/sysdeps/aarch64/bits/link.h
+++ b/ports/sysdeps/aarch64/bits/link.h
@@ -20,6 +20,8 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
+
/* Registers for entry into PLT on AArch64. */
typedef struct La_aarch64_regs
{
diff --git a/ports/sysdeps/alpha/bits/link.h b/ports/sysdeps/alpha/bits/link.h
index 12bd9dc03f4..c867299513a 100644
--- a/ports/sysdeps/alpha/bits/link.h
+++ b/ports/sysdeps/alpha/bits/link.h
@@ -19,6 +19,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
/* Registers for entry into PLT on Alpha. */
typedef struct La_alpha_regs
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 <inttypes.h>
+#include <stdint.h>
#define __acquire_lock(lock) \
__asm__ __volatile__("1: bset %1, (%0)\n\t" \
diff --git a/ports/sysdeps/arm/bits/link.h b/ports/sysdeps/arm/bits/link.h
index 2f995e814b6..d7f6bfb96fe 100644
--- a/ports/sysdeps/arm/bits/link.h
+++ b/ports/sysdeps/arm/bits/link.h
@@ -19,6 +19,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
/* Registers for entry into PLT on ARM. */
typedef struct La_arm_regs
diff --git a/ports/sysdeps/hppa/bits/link.h b/ports/sysdeps/hppa/bits/link.h
index ccf13b433af..8a2068e353b 100644
--- a/ports/sysdeps/hppa/bits/link.h
+++ b/ports/sysdeps/hppa/bits/link.h
@@ -19,6 +19,8 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
+
/* Registers for entry into PLT on hppa. */
typedef struct La_hppa_regs
{
diff --git a/ports/sysdeps/ia64/bits/link.h b/ports/sysdeps/ia64/bits/link.h
index dec8df859b0..e30b720b415 100644
--- a/ports/sysdeps/ia64/bits/link.h
+++ b/ports/sysdeps/ia64/bits/link.h
@@ -19,6 +19,8 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
+
/* Registers for entry into PLT on ia64. */
typedef struct La_ia64_regs
{
diff --git a/ports/sysdeps/m68k/bits/link.h b/ports/sysdeps/m68k/bits/link.h
index 038c4bbe919..19bbd45f35a 100644
--- a/ports/sysdeps/m68k/bits/link.h
+++ b/ports/sysdeps/m68k/bits/link.h
@@ -19,6 +19,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
/* Registers for entry into PLT on M68K. */
typedef struct La_m68k_regs
diff --git a/ports/sysdeps/microblaze/bits/link.h b/ports/sysdeps/microblaze/bits/link.h
index 2b2842a8e8c..dc69df0344d 100644
--- a/ports/sysdeps/microblaze/bits/link.h
+++ b/ports/sysdeps/microblaze/bits/link.h
@@ -20,6 +20,8 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
+
/* Registers for entry into PLT on Microblaze. */
typedef struct La_microblaze_regs
{
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 <stdint.h>
#include <inttypes.h>
#include <sgidefs.h>
diff --git a/ports/sysdeps/mips/bits/link.h b/ports/sysdeps/mips/bits/link.h
index b4e5226cb0e..79a83346ed1 100644
--- a/ports/sysdeps/mips/bits/link.h
+++ b/ports/sysdeps/mips/bits/link.h
@@ -20,6 +20,7 @@
#endif
#include <sgidefs.h>
+#include <stdint.h>
#if _MIPS_SIM == _ABIO32
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
<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 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 <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/alpha/bits/elfclass.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h
index e5aa4a0fbdf..75e604fe24c 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h
@@ -7,6 +7,7 @@
#endif
#include <bits/wordsize.h>
+#include <stdint.h>
#define __ELF_NATIVE_CLASS __WORDSIZE
diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
index b9437ff890c..4a096d21bd9 100644
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h
@@ -19,6 +19,7 @@
# error "Never include <bits/netdb.h> directly; use <netdb.h> instead."
#endif
+#include <stdint.h>
/* Description of data base entry for a single network. NOTE: here a
poor assumption is made. The network number is expected to fit
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
<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 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 <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 f199ffbfd35..fd18b19df4e 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 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
<http://www.gnu.org/licenses/>. */
+#include <stdint.h>
+
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
<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 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
<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 a37be36e6ad..fcf8a8cd602 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 493e76015c7..86d59be1abb 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 db3ae1b7bb8..2726fa0ad9e 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 090ed7dda28..cdc61b9c6a7 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 5c725b5f67a..3c4db7eec31 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 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 <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 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 <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 6cb59604961..4e9caf96f48 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 82e33654f9f..0a42776dbd0 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 f2a1c9b12c6..2ee890f27a6 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 f0dd958d591..1ff1baf9813 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 dc6829f59ca..874708ab001 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 c34dc456a77..8684bb232b3 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 0408d608261..b299c456d6e 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 8890cc6cfca..7fc077730d0 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/rpc/auth_des.h b/sunrpc/rpc/auth_des.h
index 21d40cc5691..ce90bd45a64 100644
--- a/sunrpc/rpc/auth_des.h
+++ b/sunrpc/rpc/auth_des.h
@@ -18,6 +18,7 @@
#ifndef _RPC_AUTH_DES_H
#define _RPC_AUTH_DES_H 1
+#include <stdint.h>
#include <sys/cdefs.h>
#include <rpc/auth.h>
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index 4e31eb5fe27..63020bba3d4 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -40,6 +40,7 @@
/* We need FILE. */
#include <stdio.h>
+#include <stdint.h>
__BEGIN_DECLS
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 <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 96097349605..a0f961db125 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 7eac2d40f03..b3f96ca4dc2 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 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 <rpc/xdr.h>
+#include <stdint.h>
/* 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 <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 ca3f0e430f9..d96089d492c 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 41684f3837f..9455f184f6e 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 849f6e6bf06..631287827a0 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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 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 <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 1cce1fc4dc4..58eb57cd63d 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 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 <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/bits/link.h b/sysdeps/powerpc/bits/link.h
index b907bd6087f..58386641f82 100644
--- a/sysdeps/powerpc/bits/link.h
+++ b/sysdeps/powerpc/bits/link.h
@@ -20,6 +20,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
#if __ELF_NATIVE_CLASS == 32
diff --git a/sysdeps/powerpc/fpu/e_hypot.c b/sysdeps/powerpc/fpu/e_hypot.c
index f23633946f6..cf2bb0466f0 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 e97f0c35e39..36d8a9b41eb 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 97bb8703622..3efe277f375 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 3b2e243bb82..6e50a3cd75e 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 88049c69c79..3ce55c7f0f9 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/s390/bits/link.h b/sysdeps/s390/bits/link.h
index 0ea59ac215f..3b8a274b3eb 100644
--- a/sysdeps/s390/bits/link.h
+++ b/sysdeps/s390/bits/link.h
@@ -19,6 +19,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
#if __ELF_NATIVE_CLASS == 32
diff --git a/sysdeps/sh/bits/link.h b/sysdeps/sh/bits/link.h
index fed635e5380..79d3c2d1e81 100644
--- a/sysdeps/sh/bits/link.h
+++ b/sysdeps/sh/bits/link.h
@@ -19,6 +19,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
/* Registers for entry into PLT on SH. */
typedef struct La_sh_regs
diff --git a/sysdeps/sparc/bits/link.h b/sysdeps/sparc/bits/link.h
index ffca19df8f9..64496fa3166 100644
--- a/sysdeps/sparc/bits/link.h
+++ b/sysdeps/sparc/bits/link.h
@@ -20,6 +20,8 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
+
#if __WORDSIZE == 32
typedef struct La_sparc32_regs
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 <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 5c90caa8af5..99082483baa 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 063d6c6509c..682f4248997 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 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 <stdint.h>
#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/ppc.h b/sysdeps/unix/sysv/linux/powerpc/bits/ppc.h
index c562021d370..ade7d29e126 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/ppc.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/ppc.h
@@ -23,6 +23,8 @@
# error "Never include this file directly; use <sys/platform/ppc.h> instead."
#endif
+#include <stdint.h>
+
__BEGIN_DECLS
/* Read the time base frequency. */
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 <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 219c6632aef..e92af92eb95 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 51b46d66b2f..8dcd21675e8 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/s390/bits/elfclass.h b/sysdeps/unix/sysv/linux/s390/bits/elfclass.h
index 9d8a7df9027..0048bc4a47a 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/elfclass.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/elfclass.h
@@ -25,6 +25,7 @@
#endif
#include <bits/wordsize.h>
+#include <stdint.h>
#define __ELF_NATIVE_CLASS __WORDSIZE
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 <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 5ae37314bb2..f50f293cf0d 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 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 <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/bits/link.h b/sysdeps/x86/bits/link.h
index 475b1415880..41fbc08dc6a 100644
--- a/sysdeps/x86/bits/link.h
+++ b/sysdeps/x86/bits/link.h
@@ -19,6 +19,7 @@
# error "Never include <bits/link.h> directly; use <link.h> instead."
#endif
+#include <stdint.h>
#ifndef __x86_64__
/* Registers for entry into PLT on IA-32. */
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
<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 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
<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 59fce11b843..7cd5119af09 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 d272374474c..d10af8b1a5d 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 f4534c5d934..3b1c1d674ca 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)