diff options
Diffstat (limited to 'ports/sysdeps')
-rw-r--r-- | ports/sysdeps/aarch64/bits/link.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/alpha/bits/link.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/am33/atomicity.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/arm/bits/link.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/hppa/bits/link.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/ia64/bits/link.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/m68k/bits/link.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/microblaze/bits/link.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/mips/bits/atomic.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/mips/bits/link.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/tile/tilegx/memusage.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/tile/tilegx/string-endian.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h | 1 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/arm/bits/atomic.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h | 2 |
16 files changed, 23 insertions, 0 deletions
diff --git a/ports/sysdeps/aarch64/bits/link.h b/ports/sysdeps/aarch64/bits/link.h index 3408c5b239..bdbecb1590 100644 --- a/ports/sysdeps/aarch64/bits/link.h +++ b/ports/sysdeps/aarch64/bits/link.h @@ -20,6 +20,8 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> + /* Registers for entry into PLT on AArch64. */ typedef struct La_aarch64_regs { diff --git a/ports/sysdeps/alpha/bits/link.h b/ports/sysdeps/alpha/bits/link.h index 12bd9dc03f..c867299513 100644 --- a/ports/sysdeps/alpha/bits/link.h +++ b/ports/sysdeps/alpha/bits/link.h @@ -19,6 +19,7 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> /* Registers for entry into PLT on Alpha. */ typedef struct La_alpha_regs 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/arm/bits/link.h b/ports/sysdeps/arm/bits/link.h index 2f995e814b..d7f6bfb96f 100644 --- a/ports/sysdeps/arm/bits/link.h +++ b/ports/sysdeps/arm/bits/link.h @@ -19,6 +19,7 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> /* Registers for entry into PLT on ARM. */ typedef struct La_arm_regs diff --git a/ports/sysdeps/hppa/bits/link.h b/ports/sysdeps/hppa/bits/link.h index ccf13b433a..8a2068e353 100644 --- a/ports/sysdeps/hppa/bits/link.h +++ b/ports/sysdeps/hppa/bits/link.h @@ -19,6 +19,8 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> + /* Registers for entry into PLT on hppa. */ typedef struct La_hppa_regs { diff --git a/ports/sysdeps/ia64/bits/link.h b/ports/sysdeps/ia64/bits/link.h index dec8df859b..e30b720b41 100644 --- a/ports/sysdeps/ia64/bits/link.h +++ b/ports/sysdeps/ia64/bits/link.h @@ -19,6 +19,8 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> + /* Registers for entry into PLT on ia64. */ typedef struct La_ia64_regs { diff --git a/ports/sysdeps/m68k/bits/link.h b/ports/sysdeps/m68k/bits/link.h index 038c4bbe91..19bbd45f35 100644 --- a/ports/sysdeps/m68k/bits/link.h +++ b/ports/sysdeps/m68k/bits/link.h @@ -19,6 +19,7 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> /* Registers for entry into PLT on M68K. */ typedef struct La_m68k_regs diff --git a/ports/sysdeps/microblaze/bits/link.h b/ports/sysdeps/microblaze/bits/link.h index 2b2842a8e8..dc69df0344 100644 --- a/ports/sysdeps/microblaze/bits/link.h +++ b/ports/sysdeps/microblaze/bits/link.h @@ -20,6 +20,8 @@ # error "Never include <bits/link.h> directly; use <link.h> instead." #endif +#include <stdint.h> + /* Registers for entry into PLT on Microblaze. */ typedef struct La_microblaze_regs { 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/mips/bits/link.h b/ports/sysdeps/mips/bits/link.h index b4e5226cb0..79a83346ed 100644 --- a/ports/sysdeps/mips/bits/link.h +++ b/ports/sysdeps/mips/bits/link.h @@ -20,6 +20,7 @@ #endif #include <sgidefs.h> +#include <stdint.h> #if _MIPS_SIM == _ABIO32 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/alpha/bits/elfclass.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h index e5aa4a0fbd..75e604fe24 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/elfclass.h @@ -7,6 +7,7 @@ #endif #include <bits/wordsize.h> +#include <stdint.h> #define __ELF_NATIVE_CLASS __WORDSIZE diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h index b9437ff890..4a096d21bd 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/netdb.h @@ -19,6 +19,7 @@ # error "Never include <bits/netdb.h> directly; use <netdb.h> instead." #endif +#include <stdint.h> /* Description of data base entry for a single network. NOTE: here a poor assumption is made. The network number is expected to fit 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 { |