The check for __USE_BX__ will be available in bits/arm_asm.h, so the latter must be included wherever the former is used. Signed-off-by: "Yann E. MORIN" Cc: Khem Raj Cc: Bernhard Reutner-Fischer Cc: Carmelo AMOROSO --- ldso/ldso/arm/dl-startup.h | 1 + libc/sysdeps/linux/arm/sysdep.h | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) --- a/ldso/ldso/arm/dl-startup.h +++ b/ldso/ldso/arm/dl-startup.h @@ -7,6 +7,7 @@ */ #include +#include #if !defined(__thumb__) __asm__( --- a/libc/sysdeps/linux/arm/sysdep.h +++ b/libc/sysdeps/linux/arm/sysdep.h @@ -21,6 +21,7 @@ #define _LINUX_ARM_SYSDEP_H 1 #include +#include #include /* For Linux we can use the system call table in the header file