29 lines
689 B
Diff
29 lines
689 B
Diff
|
--- ghostscript-9.15/lcms/include/lcms.h
|
||
|
+++ ghostscript-9.15/lcms/include/lcms.h
|
||
|
@@ -140,11 +140,15 @@
|
||
|
#endif
|
||
|
|
||
|
#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__)
|
||
|
+# ifndef __LITTLE_ENDIAN__
|
||
|
# define USE_BIG_ENDIAN 1
|
||
|
+# endif
|
||
|
#endif
|
||
|
|
||
|
#if TARGET_CPU_PPC
|
||
|
+# ifndef __LITTLE_ENDIAN__
|
||
|
# define USE_BIG_ENDIAN 1
|
||
|
+# endif
|
||
|
#endif
|
||
|
|
||
|
#if macintosh
|
||
|
--- ghostscript-9.15/lcms2/include/lcms2.h
|
||
|
+++ ghostscript-9.15/lcms2/include/lcms2.h
|
||
|
@@ -67,6 +67,7 @@
|
||
|
#include <limits.h>
|
||
|
#include <time.h>
|
||
|
#include <stddef.h>
|
||
|
+#include <endian.h>
|
||
|
|
||
|
#ifndef CMS_USE_CPP_API
|
||
|
# ifdef __cplusplus
|