From 2d17ae18b319d9edcd822a30d4379c407361e680 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Tue, 2 Aug 2011 13:23:50 -0400 Subject: [PATCH] Resolve ID: 3376260 Solaris also needs inttypes.h --- auto/src/glew_head.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index 26b8808..f1a245f 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -121,9 +121,10 @@ typedef _W64 int ptrdiff_t; #include -/* SGI MIPSPro doesn't like stdint.h in C++ mode */ +/* SGI MIPSPro doesn't like stdint.h in C++ mode */ +/* ID: 3376260 Solaris 9 has inttypes.h, but not stdint.h */ -#if defined(__sgi) && !defined(__GNUC__) +#if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__) #include #else #include