aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/port/linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 6a09cb1f4af..3fe4d621b0f 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -11,6 +11,9 @@
#if defined(__i386__)
typedef unsigned char slock_t;
+#elif defined(__sparc__)
+typedef unsigned char slock_t;
+
#elif defined(__powerpc__)
typedef unsigned int slock_t;