aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/linux.h')
-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 b6eb10f3d64..2dc8c45867c 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -33,4 +33,9 @@ typedef unsigned int slock_t;
#define HAS_TEST_AND_SET
+#elif defined(__s390__)
+typedef unsigned int slock_t;
+
+#define HAS_TEST_AND_SET
+
#endif