summaryrefslogtreecommitdiff
path: root/include/GL/glxext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/glxext.h')
-rw-r--r--include/GL/glxext.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/GL/glxext.h b/include/GL/glxext.h
index 068f1c0667..ed38b489d8 100644
--- a/include/GL/glxext.h
+++ b/include/GL/glxext.h
@@ -331,7 +331,16 @@ typedef struct {
} GLXBufferClobberEventSGIX;
#endif
-#if defined(__UNIXOS2__) || defined(__SOL64__)
+#if defined(__sun__)
+#include <inttypes.h>
+#if defined(__STDC__)
+#if defined(__arch64__)
+typedef long int int64_t;
+#else
+typedef long long int int64_t;
+#endif /* __arch64__ */
+#endif /* __STDC__ */
+#elif defined(__UNIXOS2__) || defined(__SOL64__)
typedef long int int32_t;
typedef long long int int64_t;
#elif defined( __VMS )