components/lcms/patches/003-icc34.h.in.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 174 187aa0541610
permissions -rw-r--r--
Close of build 04.
--- include/icc34.h.in	2007-05-25 07:04:02.000000000 -0700
+++ include/icc34.h.in	2011-03-29 16:11:47.693553324 -0700
@@ -144,7 +144,7 @@
  */
 
 
-#ifdef PACKAGE_NAME
+#if !defined(HAVE_INTTYPES_H) || !defined(HAVE_STDINT_H)
 /*
   June 9, 2003, Adapted for use with configure by Bob Friesenhahn
   Added the stupid check for autoconf by Marti Maria. 
@@ -214,6 +214,8 @@
 
 #if defined (__MINGW) || defined(__MINGW32__)
 #include <stdint.h>
+#elif defined(_sun)
+#include <inttypes.h>
 #endif