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;