diff --git a/libretro/atomic.c b/libretro/atomic.c index a1255d5bf4..747cecb31d 100644 --- a/libretro/atomic.c +++ b/libretro/atomic.c @@ -39,10 +39,12 @@ * symbols are attached with asm labels. */ +/* string.h first: on case-insensitive file systems it can pull in Apple's + Strings.h -> MacTypes.h, whose true/false enum clashes with stdbool.h. */ +#include #include #include #include -#include #ifndef __GCC_ATOMIC_TEST_AND_SET_TRUEVAL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1