diff --git a/src/include/port/linux.h b/src/include/port/linux.h index d82103b879..2ddb34df2c 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -32,6 +32,11 @@ typedef unsigned int slock_t; #define HAS_TEST_AND_SET +#elif defined(__arm__) +typedef unsigned char slock_t + +#define HAS_TEST_AND_SET + #endif #if defined(__GLIBC__) && (__GLIBC__ >= 2)