diff options
author | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-05-01 10:46:34 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-05-16 11:32:54 -0500 |
commit | e054f494306530720114b321b3d97ca2f397cbbb (patch) | |
tree | 08bd9b3309787b98c196961d5c8480bf65c7b2a8 | |
parent | 8c75f67421af1e6680ac465f49672021b6571904 (diff) | |
download | glibc-e054f494306530720114b321b3d97ca2f397cbbb.zip glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.bz2 |
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
220 files changed, 528 insertions, 12 deletions
@@ -1,3 +1,200 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * crypt/sha512-block.c: Add missing #include <stdint.h> due to + uint64_t or uint32_t usage. + * crypt/sha256-block.c: Likewise. + * crypt/sha256-crypt.c: Likewise. + * crypt/sha256.c: Likewise. + * crypt/sha512-block.c: Likewise. + * crypt/sha512-crypt.c: Likewise. + * crypt/sha512.c: Likewise. + * debug/backtrace-tst.c: Likewise. + * debug/pcprofiledump.c: Likewise. + * elf/cache.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-profile.c: Likewise. + * elf/dl-support.c: Likewise. + * elf/ldconfig.c: Likewise. + * elf/sprof.c: Likewise. + * iconv/dummy-repertoire.c: Likewise. + * iconv/iconv_charmap.c: Likewise. + * iconv/skeleton.c: Likewise. + * iconvdata/8bit-generic.c: Likewise. + * iconvdata/cp737.h: Likewise. + * iconvdata/cp775.h: Likewise. + * iconvdata/ibm1008.h: Likewise. + * iconvdata/ibm1025.h: Likewise. + * iconvdata/ibm1046.h: Likewise. + * iconvdata/ibm1097.h: Likewise. + * iconvdata/ibm1112.h: Likewise. + * iconvdata/ibm1122.h: Likewise. + * iconvdata/ibm1123.h: Likewise. + * iconvdata/ibm1124.h: Likewise. + * iconvdata/ibm1129.h: Likewise. + * iconvdata/ibm1130.h: Likewise. + * iconvdata/ibm1132.h: Likewise. + * iconvdata/ibm1133.h: Likewise. + * iconvdata/ibm1137.h: Likewise. + * iconvdata/ibm1140.h: Likewise. + * iconvdata/ibm1141.h: Likewise. + * iconvdata/ibm1142.h: Likewise. + * iconvdata/ibm1143.h: Likewise. + * iconvdata/ibm1144.h: Likewise. + * iconvdata/ibm1145.h: Likewise. + * iconvdata/ibm1146.h: Likewise. + * iconvdata/ibm1147.h: Likewise. + * iconvdata/ibm1148.h: Likewise. + * iconvdata/ibm1149.h: Likewise. + * iconvdata/ibm1153.h: Likewise. + * iconvdata/ibm1154.h: Likewise. + * iconvdata/ibm1155.h: Likewise. + * iconvdata/ibm1156.h: Likewise. + * iconvdata/ibm1157.h: Likewise. + * iconvdata/ibm1158.h: Likewise. + * iconvdata/ibm1160.h: Likewise. + * iconvdata/ibm1161.h: Likewise. + * iconvdata/ibm1162.h: Likewise. + * iconvdata/ibm1163.h: Likewise. + * iconvdata/ibm1164.h: Likewise. + * iconvdata/ibm1166.h: Likewise. + * iconvdata/ibm1167.h: Likewise. + * iconvdata/ibm12712.h: Likewise. + * iconvdata/ibm1390.h: Likewise. + * iconvdata/ibm1399.h: Likewise. + * iconvdata/ibm16804.h: Likewise. + * iconvdata/ibm4517.h: Likewise. + * iconvdata/ibm4899.h: Likewise. + * iconvdata/ibm4909.h: Likewise. + * iconvdata/ibm4971.h: Likewise. + * iconvdata/ibm5347.h: Likewise. + * iconvdata/ibm803.h: Likewise. + * iconvdata/ibm856.h: Likewise. + * iconvdata/ibm901.h: Likewise. + * iconvdata/ibm902.h: Likewise. + * iconvdata/ibm9030.h: Likewise. + * iconvdata/ibm9066.h: Likewise. + * iconvdata/ibm921.h: Likewise. + * iconvdata/ibm922.h: Likewise. + * iconvdata/ibm9448.h: Likewise. + * iconvdata/isiri-3342.h: Likewise. + * iconvdata/jis0201.h: Likewise. + * include/link.h: Likewise. + * include/netdb.h: Likewise. + * inet/check_native.c: Likewise. + * inet/check_pf.c: Likewise. + * inet/getipv4sourcefilter.c: Likewise. + * inet/getnameinfo.c: Likewise. + * inet/getsourcefilter.c: Likewise. + * inet/htonl.c: Likewise. + * inet/setipv4sourcefilter.c: Likewise. + * inet/setsourcefilter.c: Likewise. + * inet/test-inet6_opt.c: Likewise. + * inet/tst-network.c: Likewise. + * locale/C-collate.c: Likewise. + * locale/C-ctype.c: Likewise. + * locale/C-time.c: Likewise. + * locale/C-translit.h: Likewise. + * locale/loadarchive.c: Likewise. + * locale/programs/3level.h: Likewise. + * locale/programs/charmap.c: Likewise. + * locale/programs/charmap.h: Likewise. + * locale/programs/ld-address.c: Likewise. + * locale/programs/ld-collate.c: Likewise. + * locale/programs/ld-ctype.c: Likewise. + * locale/programs/ld-identification.c: Likewise. + * locale/programs/ld-measurement.c: Likewise. + * locale/programs/ld-messages.c: Likewise. + * locale/programs/ld-monetary.c: Likewise. + * locale/programs/ld-name.c: Likewise. + * locale/programs/ld-numeric.c: Likewise. + * locale/programs/ld-paper.c: Likewise. + * locale/programs/ld-telephone.c: Likewise. + * locale/programs/ld-time.c: Likewise. + * locale/programs/linereader.c: Likewise. + * locale/programs/locale.c: Likewise. + * locale/programs/locarchive.c: Likewise. + * locale/programs/locfile.h: Likewise. + * locale/programs/repertoire.c: Likewise. + * locale/programs/simple-hash.c: Likewise. + * locale/programs/simple-hash.h: Likewise. + * malloc/memusage.c: Likewise. + * malloc/memusagestat.c: Likewise. + * nis/nis_defaults.c: Likewise. + * nis/nis_hash.c: Likewise. + * nis/nis_print.c: Likewise. + * nis/nis_xdr.c: Likewise. + * nscd/connections.c: Likewise. + * nscd/hstcache.c: Likewise. + * nscd/nscd_gethst_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * nscd/nscd_helper.c: Likewise. + * nscd/servicescache.c: Likewise. + * nss/makedb.c: Likewise. + * nss/nss_db/db-XXX.c: Likewise. + * nss/nss_db/db-initgroups.c: Likewise. + * nss/nss_db/db-netgrp.c: Likewise. + * nss/nss_files/files-network.c: Likewise. + * nss/nss_files/files-parse.c: Likewise. + * posix/bug-regex5.c: Likewise. + * posix/fnmatch_loop.c: Likewise. + * posix/regcomp.c: Likewise. + * posix/regexec.c: Likewise. + * posix/tst-rfc3484-2.c: Likewise. + * posix/tst-rfc3484-3.c: Likewise. + * posix/tst-rfc3484.c: Likewise. + * resolv/nss_dns/dns-canon.c: Likewise. + * resolv/nss_dns/dns-network.c: Likewise. + * resolv/res_init.c: Likewise. + * resolv/res_mkquery.c: Likewise. + * resolv/tst-aton.c: Likewise. + * stdlib/cxa_atexit.c: Likewise. + * stdlib/cxa_finalize.c: Likewise. + * stdlib/gen-fpioconst.c: Likewise. + * stdlib/strtol_l.c: Likewise. + * string/tst-endian.c: Likewise. + * sunrpc/auth_des.c: Likewise. + * sunrpc/clnt_udp.c: Likewise. + * sunrpc/rtime.c: Likewise. + * sunrpc/svcauth_des.c: Likewise. + * sunrpc/xdr.c: Likewise. + * sunrpc/xdr_intXX_t.c: Likewise. + * sunrpc/xdr_rec.c: Likewise. + * sysdeps/generic/ldconfig.h: Likewise. + * sysdeps/generic/ldsodefs.h: Likewise. + * sysdeps/generic/memusage.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise. + * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise. + * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. + * sysdeps/posix/getaddrinfo.c: Likewise. + * sysdeps/powerpc/fpu/e_hypot.c: Likewise. + * sysdeps/powerpc/fpu/e_hypotf.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrt.c: Likewise. + * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. + * sysdeps/powerpc/test-gettimebase.c: Likewise. + * sysdeps/unix/sysv/linux/check_pf.c: Likewise. + * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise. + * sysdeps/unix/sysv/linux/preadv.c: Likewise. + * sysdeps/unix/sysv/linux/pwritev.c: Likewise. + * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise. + * sysdeps/x86_64/dl-tls.h: Likewise. + * sysdeps/x86_64/dl-tlsdesc.h: Likewise. + * time/alt_digit.c: Likewise. + * time/era.c: Likewise. + * wcsmbs/tst-c16c32-1.c: Likewise. + 2013-05-16 Joseph Myers <joseph@codesourcery.com> * math/libm-test.inc (struct test_sincos_data): New type. diff --git a/crypt/sha256-block.c b/crypt/sha256-block.c index a163e25..8a77096 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 334f572..c114a53 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 9aa222b..8fb7d47 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 e7c5cfd..c542db1 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 6541a9d..e09ae41 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 db17ff4..be20bcc 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 ce80685..cc46c33 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 43ae347..ce6096d 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 699550b..9bf261c 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 030fdca..0b68d18 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 e0e105b..5fc13a4 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 c3faeba..9034be2 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 7a55b82..b3ab956 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 340c132..13f262d 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 5c70ec0..60f310f 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 b32a754..a7ca1f0 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 745adcc..56f156e 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 c8b14454e..45beb06 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 79a3989..c789dc6 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 faf3f10..1796626 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 13fe5de..c7e6011 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 800816f..57232a5 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 da2cf1c..fc58a37 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 7c103b4..80d1e59 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 34a3088..3fe8046 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 a584863..f5eca92 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 ccb1427..30d7a2a 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 6a30f77..28e4585 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 4f75b33..2393fd7 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 c1cdcd6..94011fb 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 b7c9d64..101c9bc 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 e98faa2..7e38be1 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 46fecf1..35e8dd2 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 8b80092..22051fa 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 b4ede76..7332982 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 ca3bfeb..ec2ec6b 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 f923679..e2a54af 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 faec48b..d64514b 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 5e00b11..63632dc 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 41a92bf..771cea7 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 3d071cf..543f87f 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 30dd442..dacf88c 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 ea135f6..1f9de88 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 2fe222c..a86aa24 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 f61861e..df248cf 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 253af80..24f5c05 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 4ac7873..1138d8b 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 233f680..547751e 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 eefcb71..c7c021c 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 e69fa88..e569062 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 c7fd40f..78f7baa 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 0a95ace..8b95356 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 c791e64..910a5a9 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 6ffa4e3..541c631 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 293c49c..7090257 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 da239a1..a8faf9a 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 041e08e..f2de818 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 ac81814..9276567 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 6cd15f6..5f2841e 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 94e3ebe..323482a 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 34fa59e..dcf52e2 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 87beadb..f46d608 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 4d99874..f90229e 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 aab45d7..39c987e 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 d1b2b4e..04c69b6 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 1f3bcc7..62c89b5 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 ca187a4..bc22234 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 a2b6efc..be77850 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 c878670..2c773a3 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 dec7502..1dcb67b 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 0b2242f..c2734ae 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 1e7df2d..228c01b 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 228e80f..cd921e2 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 442bb3a..ad3c98f 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 eda4371..2fa2cbc 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 d12aa21..65a5069 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 1c6f553..6b873d7 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 7dc3cd1..1682467 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 8a569ba..e97d1bf 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 e45a7ff..46ee837 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 6968973..0e50602 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 b6bcffe..258829f 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 436604b..ce54fe4 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 174f326..662a60a 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 0a6205f..c753cb1 100644 --- a/inet/htonl.c +++ b/inet/htonl.c @@ -15,6 +15,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <stdint.h> #include <netinet/in.h> #undef htonl diff --git a/inet/setipv4sourcefilter.c b/inet/setipv4sourcefilter.c index f3841f5..af96659 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 53f1ec4..4f9c23f 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 4db9b59..3bf319e 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 af73cd0..6b79e62 100644 --- a/inet/tst-network.c +++ b/inet/tst-network.c @@ -18,6 +18,7 @@ <http://www.gnu.org/licenses/>. */ #include <stdio.h> +#include <stdint.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> diff --git a/libidn/ChangeLog b/libidn/ChangeLog index 10b19a6..619d891 100644 --- a/libidn/ChangeLog +++ b/libidn/ChangeLog @@ -1,3 +1,10 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * idna.c: Add missing #include <stdint.h> due to uint64_t or uint32_t + usage. + * nfkc.c: Likewise. + * stringprep.c: Likewise. + 2013-01-02 Joseph Myers <joseph@codesourcery.com> * All files with FSF copyright notices: Update copyright dates diff --git a/libidn/idna.c b/libidn/idna.c index daa1a87..7a15a25 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 f144d7b..6d4a88b6 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 201489f..d109a71 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 a5c02af..6c7edf0 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 95e7b21..e856254 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 a19623f..6f76deb 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 d7ec778..98f66e2 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 dd70c15..70136dc 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 c8ed119..9b8b1b9 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 fd92631..6ce9b18 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 287a7a6..57a345d 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 bb50395..39b9a83 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 aa9eb4a..6894a7c 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 23880ba..8be7fce 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 ca69ded..2589675 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 005df4a..4aa0ea9 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 833adb4..f1b9f93 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 aed175a..4dfca3d 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 de44775..207bf01 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 b864b0e..929409c 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 32285de..c6239df 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 172ad57..4452750 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 9448647..45e36c6 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 7fde46a..4773d4c 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 8dc528c..14d34e6 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 70dce9b..d31472d 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 4165a72..83bf421 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 bc65672..be77b3e 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 d65b6fb..30b1508 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 644d015..2ee2225 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 0e40878..e32f6ba 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 daeba1d..b244ef6 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 f035e41..ff84fae 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 e26b6b0..d8a6d06 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 1e9ab9e..d24dcde 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 efebef3..10c913c 100644 --- a/nis/nis_xdr.c +++ b/nis/nis_xdr.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <stdint.h> #include <rpcsvc/nis.h> #include <rpcsvc/nis_callback.h> /* for "official" Solaris xdr functions */ diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 597b3bd..6e5ca4c 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,9 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * pthread_create.c: Add missing #include <stdint.h> due to uint64_t or + uint32_t usage. + * sysdeps/pthread/createthread.c: Likewise. + 2013-05-14 Andreas Jaeger <aj@suse.de> [BZ #10686] diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index c43077f..b78bd95 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 b0f686d..d24136b 100644 --- a/nptl/sysdeps/pthread/createthread.c +++ b/nptl/sysdeps/pthread/createthread.c @@ -23,6 +23,7 @@ #include <atomic.h> #include <ldsodefs.h> #include <tls.h> +#include <stdint.h> #include "kernel-features.h" diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog index 6951395..34462ce 100644 --- a/nptl_db/ChangeLog +++ b/nptl_db/ChangeLog @@ -1,3 +1,16 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * db_info.c: Add missing #include <stdint.h> due to uint64_t or + uint32_t usage. + * fetch-value.c: Likewise. + * td_ta_clear_event.c: Likewise. + * td_ta_set_event.c: Likewise. + * td_ta_tsd_iter.c: Likewise. + * td_thr_clear_event.c: Likewise. + * td_thr_get_info.c: Likewise. + * td_thr_set_event.c: Likewise. + * td_thr_tsd.c: Likewise. + 2013-01-02 Joseph Myers <joseph@codesourcery.com> * All files with FSF copyright notices: Update copyright dates diff --git a/nptl_db/db_info.c b/nptl_db/db_info.c index b019848..31c8d88 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 5ea8437..5986612 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 058ac2c..cf24a1b 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 6d9b591..6729ffb 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 92414cd..e3f7ffe 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 3e4c30b..bb6739d 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 d17a0d7..18d0a2b 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 a0634b2..b833c6c 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 c8d0553..79e39d3 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 56c3279..7099215 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 ca21452..0d421fc 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 4ede24b..e07f622 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 f79bd42..c9c890c 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 ba58893..8587e45 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 ebb8c45..b7738a7 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 13bd846..bfc9084 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 9399ce2..40b5ce9 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 3038b2e..d0d73f0 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 8a5da38..203529f 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 87ad5d3..f18e9e1 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 8ba277f..91f32da 100644 --- a/nss/nss_files/files-parse.c +++ b/nss/nss_files/files-parse.c @@ -20,6 +20,7 @@ #include <errno.h> #include <string.h> #include <stdlib.h> +#include <stdint.h> /* These symbols are defined by the including source file: diff --git a/ports/ChangeLog.am33 b/ports/ChangeLog.am33 index 42548b2..9c5dba3 100644 --- a/ports/ChangeLog.am33 +++ b/ports/ChangeLog.am33 @@ -1,3 +1,8 @@ +2013-05-01 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/am33/atomicity.h: Add missing #include <stdint.h> due to + uint64_t or uint32_t usage. + 2013-03-11 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/am33/bits/mman.h: Remove all defines diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index ce5fc36..81b2a56 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,3 +1,8 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Add missing #include + <stdint.h> due to uint64_t or uint32_t usage. + 2013-05-14 Joseph Myers <joseph@codesourcery.com> [BZ #14908] diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index b221512..472ae21 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,9 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing + #include <stdint.h> due to uint64_t or uint32_t usage. + * sysdeps/mips/bits/atomic.h: Likewise. + 2013-04-02 Thomas Schwinge <thomas@codesourcery.com> * sysdeps/mips/math_private.h: New file. diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile index f63bde4..5cfa0b1 100644 --- a/ports/ChangeLog.tile +++ b/ports/ChangeLog.tile @@ -1,3 +1,9 @@ +2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/tile/tilegx/memusage.h: Add missing #include <stdint.h> due + to uint64_t or uint32_t usage. + * sysdeps/tile/tilegx/string-endian.h: Likewise. + 2013-03-11 Andreas Schwab <schwab@suse.de> [BZ #15234] diff --git a/ports/sysdeps/am33/atomicity.h b/ports/sysdeps/am33/atomicity.h index 12f72ef..e9705a2 100644 --- a/ports/sysdeps/am33/atomicity.h +++ b/ports/sysdeps/am33/atomicity.h @@ -22,6 +22,7 @@ #define _ATOMICITY_H 1 #include <inttypes.h> +#include <stdint.h> #define __acquire_lock(lock) \ __asm__ __volatile__("1: bset %1, (%0)\n\t" \ diff --git a/ports/sysdeps/mips/bits/atomic.h b/ports/sysdeps/mips/bits/atomic.h index bdc3ace..7c735f7 100644 --- a/ports/sysdeps/mips/bits/atomic.h +++ b/ports/sysdeps/mips/bits/atomic.h @@ -19,6 +19,7 @@ #ifndef _MIPS_BITS_ATOMIC_H #define _MIPS_BITS_ATOMIC_H 1 +#include <stdint.h> #include <inttypes.h> #include <sgidefs.h> diff --git a/ports/sysdeps/tile/tilegx/memusage.h b/ports/sysdeps/tile/tilegx/memusage.h index 863b229..a81916c 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 ee9bd16..69ca5fe 100644 --- a/ports/sysdeps/tile/tilegx/string-endian.h +++ b/ports/sysdeps/tile/tilegx/string-endian.h @@ -22,6 +22,8 @@ Also, specify how to count "first" and "last" bits when the bits have been read as a word. */ +#include <stdint.h> + #ifndef __BIG_ENDIAN__ #define MASK(x) (__insn_shl(1ULL, (x << 3)) - 1) #define NULMASK(x) ((2ULL << x) - 1) diff --git a/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h b/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h index c76b8f3..ae486e1 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 77ffaf6..e870b20 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 f199ffb..fd18b19 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 ef3c882..6c4301d 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 5780441..0ffc2fa 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 5ca2bf6..f85c5e8 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 a37be36..fcf8a8c 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 493e760..86d59be 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 db3ae1b..2726fa0 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 090ed7d..cdc61b9 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 5c725b5..3c4db7e 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 c58c763..002dec5 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 2bc2d24..e2c6a74 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 6cb5960..4e9caf9 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 82e3365..0a42776 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 f2a1c9b..2ee890f 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 f0dd958..1ff1baf 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 dc6829f..874708a 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 c34dc45..8684bb2 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 0408d60..b299c45 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 8890cc6..7fc0777 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -42,6 +42,7 @@ #include <sys/ioctl.h> #include <netdb.h> #include <errno.h> +#include <stdint.h> #include <rpc/pmap_clnt.h> #include <net/if.h> #include <ifaddrs.h> diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c index bcb280b..d224624 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 9609734..a0f961d 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 7eac2d4..b3f96ca 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 39604c9..9de567c 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 f5d6ef2..9d79ace 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 ca3f0e4..d96089d 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 c7a20ba..3f44809 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 849f6e6..6312878 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 a630d10..f686bb6 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 488a0ef..dcb7b58 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 b66085e..4f92199 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 f25ede8..fcf2e6d 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 5beccb0..914a3c8 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 70a620c..e80b84c 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 8974316..c309e56 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 e9ae82b..29e6287 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 df67467..bea7960 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 1cce1fc..58eb57c 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 d368306..ab135ad 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -47,6 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <stdio_ext.h> #include <stdlib.h> #include <string.h> +#include <stdint.h> #include <arpa/inet.h> #include <net/if.h> #include <netinet/in.h> diff --git a/sysdeps/powerpc/fpu/e_hypot.c b/sysdeps/powerpc/fpu/e_hypot.c index d8568d6..5341933 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 93055af..3ccd385 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 97bb870..3efe277 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 3b2e243..6e50a3c 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 88049c6..3ce55c7 100644 --- a/sysdeps/powerpc/test-gettimebase.c +++ b/sysdeps/powerpc/test-gettimebase.c @@ -22,6 +22,7 @@ #include <inttypes.h> #include <stdio.h> +#include <stdint.h> #include <sys/platform/ppc.h> diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c index 8bc025b..34c2146 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 5c90caa..9908248 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 063d6c6..682f424 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 7c1deb9..e0da57a 100644 --- a/sysdeps/unix/sysv/linux/netlinkaccess.h +++ b/sysdeps/unix/sysv/linux/netlinkaccess.h @@ -18,6 +18,7 @@ #ifndef _NETLINKACCESS_H #define _NETLINKACCESS_H 1 +#include <stdint.h> #include <asm/types.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> diff --git a/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c b/sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c index 779ea49..344496b 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 219c663..e92af92 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 51b46d6..8dcd216 100644 --- a/sysdeps/unix/sysv/linux/pwritev.c +++ b/sysdeps/unix/sysv/linux/pwritev.c @@ -17,6 +17,7 @@ #include <errno.h> #include <stddef.h> +#include <stdint.h> #include <sys/param.h> #if __WORDSIZE == 64 && !defined PWRITEV /* Hide the pwritev64 declaration. */ diff --git a/sysdeps/unix/sysv/linux/setipv4sourcefilter.c b/sysdeps/unix/sysv/linux/setipv4sourcefilter.c index ff32863..a9b4d3b 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 5ae3731..f50f293 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 7f6dee3..32cb0aa 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c @@ -20,6 +20,7 @@ #include <sys/prctl.h> #include <sys/syscall.h> #include <sysdep.h> +#include <stdint.h> /* Since x32 arch_prctl stores 32-bit base address of segment registers %fs and %gs as unsigned 64-bit value via ARCH_GET_FS and ARCH_GET_GS, diff --git a/sysdeps/x86_64/dl-tls.h b/sysdeps/x86_64/dl-tls.h index 2bb3e6f..af861c0 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 ea584bf..a6c0596 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 59fce11..7cd5119 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) @@ -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 f4534c5..3b1c1d6 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) |