From e054f494306530720114b321b3d97ca2f397cbbb Mon Sep 17 00:00:00 2001 From: "Ryan S. Arnold" Date: Wed, 1 May 2013 10:46:34 -0500 Subject: Add #include for uint[32|64]_t usage (except installed headers). --- ports/sysdeps/am33/atomicity.h | 1 + ports/sysdeps/mips/bits/atomic.h | 1 + ports/sysdeps/tile/tilegx/memusage.h | 1 + ports/sysdeps/tile/tilegx/string-endian.h | 2 ++ ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h | 2 ++ ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h | 2 ++ 6 files changed, 9 insertions(+) (limited to 'ports/sysdeps') 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 +#include #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 #include #include 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 . */ +#include #include #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 + #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 . */ +#include + /* 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 + /* Linux kernel RT signal frame. */ typedef struct kernel_rt_sigframe { -- cgit 1.4.1