2006-03-16 06:03:07 -05:00
|
|
|
$OpenBSD: patch-include_lcms_h,v 1.3 2006/03/16 11:03:07 espie Exp $
|
|
|
|
--- include/lcms.h.orig Tue Mar 7 22:46:48 2006
|
|
|
|
+++ include/lcms.h Tue Mar 7 22:47:46 2006
|
|
|
|
@@ -131,11 +131,17 @@
|
2005-03-14 03:46:54 -05:00
|
|
|
# define USE_BIG_ENDIAN 1
|
|
|
|
#endif
|
|
|
|
|
2006-03-16 06:03:07 -05:00
|
|
|
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
|
|
|
|
+#if defined(__NetBSD__) || defined(__FreeBSD__)
|
2001-12-03 11:35:47 -05:00
|
|
|
# include <sys/types.h>
|
|
|
|
# define USE_INT64 1
|
2006-03-16 06:03:07 -05:00
|
|
|
# define LCMSSLONGLONG int_64_t
|
|
|
|
# define LCMSULONGLONG u_int64_t
|
|
|
|
+#endif
|
|
|
|
+#if defined(__OpenBSD__)
|
|
|
|
+# include <stdint.h>
|
|
|
|
+# define USE_INT64 1
|
|
|
|
+# define LCMSSLONGLONG int64_t
|
|
|
|
+# define LCMSULONGLONG uint64_t
|
2003-05-12 00:10:54 -04:00
|
|
|
#endif
|
|
|
|
|
2006-03-16 06:03:07 -05:00
|
|
|
#ifdef USE_INT64
|