aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/port/linux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index d82103b879b..2ddb34df2c5 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)