From: H.J. Lu Date: Tue, 20 Mar 2012 23:00:23 +0000 (-0700) Subject: Move stdio-common/_itoa.h to sysdeps/generic X-Git-Tag: glibc-2.16-tps~743 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb96ffb07d0b1b23ecfaf9520d6757c7dbea0bd1;p=thirdparty%2Fglibc.git Move stdio-common/_itoa.h to sysdeps/generic --- diff --git a/ChangeLog b/ChangeLog index 268d0ac8463..edac2dc045a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,67 @@ +2012-03-20 H.J. Lu + + * debug/backtracesymsfd.c: Include <_itoa.h> instead of + . + * debug/segfault.c: Likewise. + * elf/dl-cache.c: Likewise. + * elf/dl-minimal.c: Likewise. + * elf/dl-misc.c: Likewise. + * elf/dl-sysdep.c: Likewise. + * elf/dl-version.c: Likewise. + * elf/rtld.c: Likewise. + * hurd/hurdsock.c: Likewise. + * hurd/lookup-retry.c: Likewise. + * malloc/malloc.c: Likewise. + * malloc/mtrace.c: Likewise. + * nscd/nscd_getgr_r.c: Likewise. + * nscd/nscd_getpw_r.c: Likewise. + * nscd/nscd_getserv_r.c: Likewise. + * posix/getopt_init.c: Likewise. + * posix/wordexp.c: Likewise. + * stdio-common/_itoa.c: Likewise. + * stdio-common/printf_fphex.c: Likewise. + * stdio-common/vfprintf.c: Likewise. + * string/_strerror.c: Likewise. + * sysdeps/generic/elf/backtracesymsfd.c: Likewise. + * sysdeps/i386/i686/hp-timing.h: Likewise. + * sysdeps/mach/_strerror.c: Likewise. + * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise. + * sysdeps/mach/hurd/sethostid.c: Likewise. + * sysdeps/mach/hurd/xmknodat.c: Likewise. + * sysdeps/mach/xpg-strerror.c: Likewise. + * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc32/register-dump.h: Likewise. + * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise. + * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise. + * sysdeps/powerpc/powerpc64/register-dump.h: Likewise. + * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise. + * sysdeps/sparc/sparc64/hp-timing.h: Likewise. + * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise. + * sysdeps/unix/sysv/linux/futimes.c: Likewise. + * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/ptsname.c: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise. + * sysdeps/unix/sysv/linux/ttyname.c: Likewise. + * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. + * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise. + + * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h". + + * stdio-common/_itoa.h: Moved to ... + * sysdeps/generic/_itoa.h: Here. + + * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h". + + * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h> + instead of "_itoa.h" and "_itowa.h". + * stdio-common/vfprintf.: Likewise. + 2012-03-20 H.J. Lu * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include diff --git a/debug/backtracesymsfd.c b/debug/backtracesymsfd.c index fe247d8cc8b..2345853d805 100644 --- a/debug/backtracesymsfd.c +++ b/debug/backtracesymsfd.c @@ -21,7 +21,7 @@ #include #include -#include +#include <_itoa.h> #include #if __ELF_NATIVE_CLASS == 32 diff --git a/debug/segfault.c b/debug/segfault.c index 18f811580ba..98886dbf152 100644 --- a/debug/segfault.c +++ b/debug/segfault.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include diff --git a/elf/dl-cache.c b/elf/dl-cache.c index 2e6f88b326d..0357dffc426 100644 --- a/elf/dl-cache.c +++ b/elf/dl-cache.c @@ -24,7 +24,7 @@ #include #include -#include +#include <_itoa.h> #ifndef _DL_PLATFORMS_COUNT # define _DL_PLATFORMS_COUNT 0 diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index 3a984afb1c4..316de99b8f1 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include <_itoa.h> #include diff --git a/elf/dl-misc.c b/elf/dl-misc.c index 9bf642daaaf..22fbba38d4c 100644 --- a/elf/dl-misc.c +++ b/elf/dl-misc.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include <_itoa.h> #include /* Read the whole contents of FILE into new mmap'd space with given diff --git a/elf/dl-sysdep.c b/elf/dl-sysdep.c index 0920cc155a4..1cb4460a02f 100644 --- a/elf/dl-sysdep.c +++ b/elf/dl-sysdep.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include diff --git a/elf/dl-version.c b/elf/dl-version.c index e314e02d074..af7f89960df 100644 --- a/elf/dl-version.c +++ b/elf/dl-version.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include <_itoa.h> #include diff --git a/elf/rtld.c b/elf/rtld.c index 3e15447f7a5..1cc9cf3fe53 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include #include diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c index 170a3f6185a..f3611ecf271 100644 --- a/hurd/hurdsock.c +++ b/hurd/hurdsock.c @@ -22,7 +22,7 @@ #include #include #include -#include "stdio-common/_itoa.h" +#include <_itoa.h> #include /* For `struct mutex'. */ #include "hurdmalloc.h" /* XXX */ diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c index c65eb5ad57f..3c506a043a0 100644 --- a/hurd/lookup-retry.c +++ b/hurd/lookup-retry.c @@ -24,7 +24,7 @@ #include #include #include -#include "stdio-common/_itoa.h" +#include <_itoa.h> /* Translate the error from dir_lookup into the error the user sees. */ static inline error_t diff --git a/malloc/malloc.c b/malloc/malloc.c index d7d79e03fa2..79cdc52330d 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -218,7 +218,7 @@ #include #include -#include +#include <_itoa.h> #include #include diff --git a/malloc/mtrace.c b/malloc/mtrace.c index 67e3e44336c..e299a16239f 100644 --- a/malloc/mtrace.c +++ b/malloc/mtrace.c @@ -31,7 +31,7 @@ #include #include -#include +#include <_itoa.h> #include diff --git a/nscd/nscd_getgr_r.c b/nscd/nscd_getgr_r.c index ac3d85fc39c..54372e4ef0a 100644 --- a/nscd/nscd_getgr_r.c +++ b/nscd/nscd_getgr_r.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include <_itoa.h> #include "nscd-client.h" #include "nscd_proto.h" diff --git a/nscd/nscd_getpw_r.c b/nscd/nscd_getpw_r.c index 409b672ee02..e405057d162 100644 --- a/nscd/nscd_getpw_r.c +++ b/nscd/nscd_getpw_r.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include <_itoa.h> #include "nscd-client.h" #include "nscd_proto.h" diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c index ff85d8299fb..acf7e22f825 100644 --- a/nscd/nscd_getserv_r.c +++ b/nscd/nscd_getserv_r.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include <_itoa.h> #include "nscd-client.h" #include "nscd_proto.h" diff --git a/posix/getopt_init.c b/posix/getopt_init.c index 9bcbd9c00d0..55003d4b7e0 100644 --- a/posix/getopt_init.c +++ b/posix/getopt_init.c @@ -27,7 +27,7 @@ #include #include -#include +#include <_itoa.h> /* Variable to synchronize work. */ char *__getopt_nonoption_flags; diff --git a/posix/wordexp.c b/posix/wordexp.c index ece5109ae9d..5ace13720b6 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -42,7 +42,7 @@ #include #include -#include +#include <_itoa.h> /* Undefine the following line for the production version. */ /* #define NDEBUG 1 */ diff --git a/stdio-common/_itoa.c b/stdio-common/_itoa.c index e52f666ffac..3dfff8ff640 100644 --- a/stdio-common/_itoa.c +++ b/stdio-common/_itoa.c @@ -25,7 +25,7 @@ #include #include -#include "_itoa.h" +#include <_itoa.h> /* Canonize environment. For some architectures not all values might diff --git a/stdio-common/_itowa.c b/stdio-common/_itowa.c index 8047c877c90..1ebc712b436 100644 --- a/stdio-common/_itowa.c +++ b/stdio-common/_itowa.c @@ -24,7 +24,7 @@ #include #include -#include "_itowa.h" +#include <_itowa.h> /* Canonize environment. For some architectures not all values might diff --git a/stdio-common/printf_fphex.c b/stdio-common/printf_fphex.c index 01142f9f6d8..97ed83be981 100644 --- a/stdio-common/printf_fphex.c +++ b/stdio-common/printf_fphex.c @@ -25,8 +25,8 @@ #include #include #include -#include "_itoa.h" -#include "_itowa.h" +#include <_itoa.h> +#include <_itowa.h> #include /* #define NDEBUG 1*/ /* Undefine this for debugging assertions. */ diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index e454927bfd3..1e904833a37 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -26,7 +26,7 @@ #include #include #include -#include "_itoa.h" +#include <_itoa.h> #include #include @@ -102,7 +102,7 @@ # define ISDIGIT(Ch) ((unsigned int) ((Ch) - L'0') < 10) # define STR_LEN(Str) __wcslen (Str) -# include "_itowa.h" +# include <_itowa.h> # define PUT(F, S, N) _IO_sputn ((F), (S), (N)) # define PAD(Padchar) \ diff --git a/string/_strerror.c b/string/_strerror.c index 87540797d92..6af622634f3 100644 --- a/string/_strerror.c +++ b/string/_strerror.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include <_itoa.h> /* It is critical here that we always use the `dcgettext' function for the message translation. Since only defines the macro diff --git a/stdio-common/_itoa.h b/sysdeps/generic/_itoa.h similarity index 100% rename from stdio-common/_itoa.h rename to sysdeps/generic/_itoa.h diff --git a/sysdeps/generic/elf/backtracesymsfd.c b/sysdeps/generic/elf/backtracesymsfd.c index 8b4a836ce9c..3562c50a789 100644 --- a/sysdeps/generic/elf/backtracesymsfd.c +++ b/sysdeps/generic/elf/backtracesymsfd.c @@ -21,7 +21,7 @@ #include #include -#include +#include <_itoa.h> #include #if __ELF_NATIVE_CLASS == 32 diff --git a/sysdeps/i386/i686/hp-timing.h b/sysdeps/i386/i686/hp-timing.h index 852f77820ff..1d8684ce203 100644 --- a/sysdeps/i386/i686/hp-timing.h +++ b/sysdeps/i386/i686/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> /* The macros defined here use the timestamp counter in i586 and up versions of the x86 processors. They provide a very accurate way to measure the diff --git a/sysdeps/mach/_strerror.c b/sysdeps/mach/_strerror.c index 3c0928825f6..e3a5c8e3c86 100644 --- a/sysdeps/mach/_strerror.c +++ b/sysdeps/mach/_strerror.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include <_itoa.h> /* It is critical here that we always use the `dcgettext' function for the message translation. Since only defines the macro diff --git a/sysdeps/mach/hurd/powerpc/register-dump.h b/sysdeps/mach/hurd/powerpc/register-dump.h index 258579727ef..80d545e4880 100644 --- a/sysdeps/mach/hurd/powerpc/register-dump.h +++ b/sysdeps/mach/hurd/powerpc/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* This prints out the information in the following form: */ static const char dumpform[] = "\ diff --git a/sysdeps/mach/hurd/sethostid.c b/sysdeps/mach/hurd/sethostid.c index d1ff1b0f5bf..7fadf6aa850 100644 --- a/sysdeps/mach/hurd/sethostid.c +++ b/sysdeps/mach/hurd/sethostid.c @@ -18,7 +18,7 @@ #include #include #include "hurdhost.h" -#include +#include <_itoa.h> /* Set the current machine's Internet number to ID. This call is restricted to the super-user. */ diff --git a/sysdeps/mach/hurd/xmknodat.c b/sysdeps/mach/hurd/xmknodat.c index a37b918822f..acd1a8c683d 100644 --- a/sysdeps/mach/hurd/xmknodat.c +++ b/sysdeps/mach/hurd/xmknodat.c @@ -23,7 +23,7 @@ #include #include #include -#include "stdio-common/_itoa.h" +#include <_itoa.h> #include #include diff --git a/sysdeps/mach/xpg-strerror.c b/sysdeps/mach/xpg-strerror.c index 997c5b6a3f0..421d75803dd 100644 --- a/sysdeps/mach/xpg-strerror.c +++ b/sysdeps/mach/xpg-strerror.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include <_itoa.h> /* It is critical here that we always use the `dcgettext' function for the message translation. Since only defines the macro diff --git a/sysdeps/powerpc/powerpc32/dl-machine.c b/sysdeps/powerpc/powerpc32/dl-machine.c index 9ad6bbbc0b9..e5354801336 100644 --- a/sysdeps/powerpc/powerpc32/dl-machine.c +++ b/sysdeps/powerpc/powerpc32/dl-machine.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include <_itoa.h> /* The value __cache_line_size is defined in dl-sysdep.c and is initialised by _dl_sysdep_start via DL_PLATFORM_INIT. */ diff --git a/sysdeps/powerpc/powerpc32/power4/hp-timing.h b/sysdeps/powerpc/powerpc32/power4/hp-timing.h index 8370f726914..a80168a7c98 100644 --- a/sysdeps/powerpc/powerpc32/power4/hp-timing.h +++ b/sysdeps/powerpc/powerpc32/power4/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #include /* The macros defined here use the powerpc 64-bit time base register. diff --git a/sysdeps/powerpc/powerpc32/register-dump.h b/sysdeps/powerpc/powerpc32/register-dump.h index d9b520e5e79..2936de240bb 100644 --- a/sysdeps/powerpc/powerpc32/register-dump.h +++ b/sysdeps/powerpc/powerpc32/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* This prints out the information in the following form: */ static const char dumpform[] = "\ diff --git a/sysdeps/powerpc/powerpc64/dl-machine.c b/sysdeps/powerpc/powerpc64/dl-machine.c index 6a8e68f39ee..8e216ed87c7 100644 --- a/sysdeps/powerpc/powerpc64/dl-machine.c +++ b/sysdeps/powerpc/powerpc64/dl-machine.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include <_itoa.h> #include void diff --git a/sysdeps/powerpc/powerpc64/hp-timing.h b/sysdeps/powerpc/powerpc64/hp-timing.h index b4cf2a42cb7..dc10bc4f65c 100644 --- a/sysdeps/powerpc/powerpc64/hp-timing.h +++ b/sysdeps/powerpc/powerpc64/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #include /* The macros defined here use the powerpc 64-bit time base register. diff --git a/sysdeps/powerpc/powerpc64/register-dump.h b/sysdeps/powerpc/powerpc64/register-dump.h index e301b0fe61d..917886db2f2 100644 --- a/sysdeps/powerpc/powerpc64/register-dump.h +++ b/sysdeps/powerpc/powerpc64/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* This prints out the information in the following form: */ static const char dumpform[] = "\ diff --git a/sysdeps/sparc/sparc32/sparcv9/hp-timing.h b/sysdeps/sparc/sparc32/sparcv9/hp-timing.h index b90bb841521..d0f896da5cc 100644 --- a/sysdeps/sparc/sparc32/sparcv9/hp-timing.h +++ b/sysdeps/sparc/sparc32/sparcv9/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #define HP_TIMING_AVAIL (1) #define HP_TIMING_INLINE (1) diff --git a/sysdeps/sparc/sparc64/hp-timing.h b/sysdeps/sparc/sparc64/hp-timing.h index b68f653fb8d..684b846f551 100644 --- a/sysdeps/sparc/sparc64/hp-timing.h +++ b/sysdeps/sparc/sparc64/hp-timing.h @@ -22,7 +22,7 @@ #include #include -#include +#include <_itoa.h> #define HP_TIMING_AVAIL (1) #define HP_TIMING_INLINE (1) diff --git a/sysdeps/unix/sysv/linux/fd_to_filename.h b/sysdeps/unix/sysv/linux/fd_to_filename.h index feefc2b78ec..ee939af1592 100644 --- a/sysdeps/unix/sysv/linux/fd_to_filename.h +++ b/sysdeps/unix/sysv/linux/fd_to_filename.h @@ -19,7 +19,7 @@ #include #include #include -#include +#include <_itoa.h> static inline const char * fd_to_filename (int fd) diff --git a/sysdeps/unix/sysv/linux/futimes.c b/sysdeps/unix/sysv/linux/futimes.c index cd76f6ffbad..913bd105fc3 100644 --- a/sysdeps/unix/sysv/linux/futimes.c +++ b/sysdeps/unix/sysv/linux/futimes.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include <_itoa.h> #include #include diff --git a/sysdeps/unix/sysv/linux/i386/register-dump.h b/sysdeps/unix/sysv/linux/i386/register-dump.h index d2c5c3fcaf6..7f54f67430b 100644 --- a/sysdeps/unix/sysv/linux/i386/register-dump.h +++ b/sysdeps/unix/sysv/linux/i386/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/ptsname.c b/sysdeps/unix/sysv/linux/ptsname.c index 41edd8f8fe1..fb097698fb3 100644 --- a/sysdeps/unix/sysv/linux/ptsname.c +++ b/sysdeps/unix/sysv/linux/ptsname.c @@ -26,7 +26,7 @@ #include #include -#include +#include <_itoa.h> /* Check if DEV corresponds to a master pseudo terminal device. */ #define MASTER_P(Dev) \ diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h b/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h index 0c3b83c24bf..1f1a85983e6 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h b/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h index 0cf89f14cae..671481df759 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h b/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h index 9562882eda2..510863e7bf2 100644 --- a/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h +++ b/sysdeps/unix/sysv/linux/sh/sh3/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h index d31ca1f9148..f05447c3731 100644 --- a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h +++ b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h b/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h index 0d0cdd6bb20..be6ad74ae16 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h b/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h index 8ef6fde2fbe..d8e76264f58 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h @@ -18,7 +18,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: diff --git a/sysdeps/unix/sysv/linux/ttyname.c b/sysdeps/unix/sysv/linux/ttyname.c index 70b2d51a003..0cfb4740b8a 100644 --- a/sysdeps/unix/sysv/linux/ttyname.c +++ b/sysdeps/unix/sysv/linux/ttyname.c @@ -27,7 +27,7 @@ #include #include -#include +#include <_itoa.h> #include #if 0 diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c index a12849a7772..f097311a153 100644 --- a/sysdeps/unix/sysv/linux/ttyname_r.c +++ b/sysdeps/unix/sysv/linux/ttyname_r.c @@ -27,7 +27,7 @@ #include #include -#include +#include <_itoa.h> #include static int getttyname_r (char *buf, size_t buflen, diff --git a/sysdeps/unix/sysv/linux/x86_64/register-dump.h b/sysdeps/unix/sysv/linux/x86_64/register-dump.h index 83157916d9d..3ef8e09b6bb 100644 --- a/sysdeps/unix/sysv/linux/x86_64/register-dump.h +++ b/sysdeps/unix/sysv/linux/x86_64/register-dump.h @@ -17,7 +17,7 @@ . */ #include -#include +#include <_itoa.h> /* We will print the register dump in this format: