about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-01 10:46:34 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-16 11:32:54 -0500
commite054f494306530720114b321b3d97ca2f397cbbb (patch)
tree08bd9b3309787b98c196961d5c8480bf65c7b2a8 /ports
parent8c75f67421af1e6680ac465f49672021b6571904 (diff)
downloadglibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.gz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.tar.xz
glibc-e054f494306530720114b321b3d97ca2f397cbbb.zip
Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.am335
-rw-r--r--ports/ChangeLog.arm5
-rw-r--r--ports/ChangeLog.mips6
-rw-r--r--ports/ChangeLog.tile6
-rw-r--r--ports/sysdeps/am33/atomicity.h1
-rw-r--r--ports/sysdeps/mips/bits/atomic.h1
-rw-r--r--ports/sysdeps/tile/tilegx/memusage.h1
-rw-r--r--ports/sysdeps/tile/tilegx/string-endian.h2
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h2
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h2
10 files changed, 31 insertions, 0 deletions
diff --git a/ports/ChangeLog.am33 b/ports/ChangeLog.am33
index 42548b2c2b..9c5dba338b 100644
--- a/ports/ChangeLog.am33
+++ b/ports/ChangeLog.am33
@@ -1,3 +1,8 @@
+2013-05-01  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* sysdeps/am33/atomicity.h: Add missing #include <stdint.h> due to
+	uint64_t or uint32_t usage.
+
 2013-03-11  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/am33/bits/mman.h: Remove all defines
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index ce5fc360b1..81b2a56eee 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,8 @@
+2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* sysdeps/unix/sysv/linux/arm/bits/atomic.h: Add missing #include
+	<stdint.h> due to uint64_t or uint32_t usage.
+
 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #14908]
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index b221512655..472ae21fb2 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,9 @@
+2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: Add missing
+	#include <stdint.h> due to uint64_t or uint32_t usage.
+	* sysdeps/mips/bits/atomic.h: Likewise.
+
 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
 
 	* sysdeps/mips/math_private.h: New file.
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index f63bde486b..5cfa0b15fb 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,3 +1,9 @@
+2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
+
+	* sysdeps/tile/tilegx/memusage.h: Add missing #include <stdint.h> due
+	to uint64_t or uint32_t usage.
+	* sysdeps/tile/tilegx/string-endian.h: Likewise.
+
 2013-03-11  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #15234]
diff --git a/ports/sysdeps/am33/atomicity.h b/ports/sysdeps/am33/atomicity.h
index 12f72eff91..e9705a25df 100644
--- a/ports/sysdeps/am33/atomicity.h
+++ b/ports/sysdeps/am33/atomicity.h
@@ -22,6 +22,7 @@
 #define _ATOMICITY_H	1
 
 #include <inttypes.h>
+#include <stdint.h>
 
 #define __acquire_lock(lock) \
   __asm__ __volatile__("1:	bset	%1, (%0)\n\t"		\
diff --git a/ports/sysdeps/mips/bits/atomic.h b/ports/sysdeps/mips/bits/atomic.h
index bdc3acef7b..7c735f7262 100644
--- a/ports/sysdeps/mips/bits/atomic.h
+++ b/ports/sysdeps/mips/bits/atomic.h
@@ -19,6 +19,7 @@
 #ifndef _MIPS_BITS_ATOMIC_H
 #define _MIPS_BITS_ATOMIC_H 1
 
+#include <stdint.h>
 #include <inttypes.h>
 #include <sgidefs.h>
 
diff --git a/ports/sysdeps/tile/tilegx/memusage.h b/ports/sysdeps/tile/tilegx/memusage.h
index 863b229f86..a81916c219 100644
--- a/ports/sysdeps/tile/tilegx/memusage.h
+++ b/ports/sysdeps/tile/tilegx/memusage.h
@@ -16,6 +16,7 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
 #include <arch/spr_def.h>
 
 #define GETSP() ({ register uintptr_t stack_ptr asm ("sp"); stack_ptr; })
diff --git a/ports/sysdeps/tile/tilegx/string-endian.h b/ports/sysdeps/tile/tilegx/string-endian.h
index ee9bd1620a..69ca5fedf2 100644
--- a/ports/sysdeps/tile/tilegx/string-endian.h
+++ b/ports/sysdeps/tile/tilegx/string-endian.h
@@ -22,6 +22,8 @@
    Also, specify how to count "first" and "last" bits
    when the bits have been read as a word.  */
 
+#include <stdint.h>
+
 #ifndef __BIG_ENDIAN__
 #define MASK(x) (__insn_shl(1ULL, (x << 3)) - 1)
 #define NULMASK(x) ((2ULL << x) - 1)
diff --git a/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h b/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h
index c76b8f3c2d..ae486e1f21 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h
+++ b/ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h
@@ -16,6 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdint.h>
+
 /* If the compiler doesn't provide a primitive, we'll use this macro
    to get assistance from the kernel.  */
 #ifdef __thumb2__
diff --git a/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h b/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h
index 77ffaf68df..e870b207de 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
 /* Linux kernel RT signal frame. */
 typedef struct kernel_rt_sigframe
   {