summary refs log tree commit diff
path: root/ports/sysdeps/tile
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/sysdeps/tile
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/sysdeps/tile')
-rw-r--r--ports/sysdeps/tile/tilegx/memusage.h1
-rw-r--r--ports/sysdeps/tile/tilegx/string-endian.h2
2 files changed, 3 insertions, 0 deletions
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)