diff --git a/include/SDL_types.h b/include/SDL_types.h
index 214e89e2baef7dfda7ba140c5e1e547bfc44188c..1b66297d084c95528112146c4d2cb4687c6a5f0c 100644
--- a/include/SDL_types.h
+++ b/include/SDL_types.h
@@ -47,7 +47,7 @@ typedef signed int	Sint32;
 
 /* Figure out how to support 64-bit datatypes */
 #if !defined(__STRICT_ANSI__)
-#if defined(__GNUC__) || defined(__MWERKS__) || defined(__DECC)
+#if defined(__GNUC__) || defined(__MWERKS__) || defined(__SUNPRO_C) || defined(__DECC)
 #define SDL_HAS_64BIT_TYPE	long long
 #elif defined(_MSC_VER) /* VC++ */
 #define SDL_HAS_64BIT_TYPE	__int64