summaryrefslogtreecommitdiff
path: root/pixman/pixman.h
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2008-07-16 15:07:30 -0400
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2008-07-16 15:08:45 -0400
commit99fead412e7602daf193035831b952e252dac0e1 (patch)
tree858629e849ca709bffdbb31b53441e6a1c16f24b /pixman/pixman.h
parentc5bb4ab8fcb784d479c71996f2ff081374741d43 (diff)
Use <inttypes.h> on most types of Unix.
Fix for bug 15560.
Diffstat (limited to 'pixman/pixman.h')
-rw-r--r--pixman/pixman.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/pixman/pixman.h b/pixman/pixman.h
index f60534b..c3b3184 100644
--- a/pixman/pixman.h
+++ b/pixman/pixman.h
@@ -74,10 +74,7 @@ SOFTWARE.
/*
* Standard integers
*/
-#if defined (__SVR4) && defined (__sun)
-# include <sys/int_types.h>
-# include <stdint.h>
-#elif defined (__OpenBSD__) || defined (__sgi)
+#if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || defined (_sgi)
# include <inttypes.h>
#elif defined (_MSC_VER)
typedef __int8 int8_t;