components/lcms/patches/003-icc34.h.in.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Thu, 28 Apr 2016 01:48:52 -0700
changeset 5873 1b57430f3995
parent 174 187aa0541610
permissions -rw-r--r--
23195793 Upgrade Wireshark to version 2.0.3 23182108 problem in UTILITY/WIRESHARK 23182028 problem in UTILITY/WIRESHARK

--- 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