shithub: jbig2

Download patch

ref: 7a82fc0abd135e08875ec4941ba43e832bc1b7f3
parent: 3a424b8fa0e30b76b49b9c2f2fe167e5dc653073
author: Chris Liddell <[email protected]>
date: Wed Aug 29 12:19:55 EDT 2012

Remove dependence on jbig2dec auto-generated files

Also provide a workaround for LCMS2 on systems without sqrtf().

No cluster differences

--- a/os_types.h
+++ b/os_types.h
@@ -44,6 +44,14 @@
 # include "config_types.h"
 #elif defined(_WIN32) || defined(__WIN32__)
 # include "config_win32.h"
+#elif defined (STD_INT_USE_SYS_TYPES_H)
+# include <sys/types.h>
+#elif defined (STD_INT_USE_INTTYPES_H)
+# include <inttypes.h>
+#elif defined (STD_INT_USE_SYS_INTTYPES_H)
+# include <sys/inttypes.h>
+#elif defined (STD_INT_USE_SYS_INT_TYPES_H)
+# include <sys/int_types.h>
 #elif !defined(HAVE_STDINT_H)
    typedef unsigned char  uint8_t;
    typedef unsigned short uint16_t;