openbsd-ports/graphics/lcms/patches/patch-include_lcms_h
2006-03-16 11:03:07 +00:00

23 lines
687 B
Plaintext

$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 @@
# define USE_BIG_ENDIAN 1
#endif
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
+#if defined(__NetBSD__) || defined(__FreeBSD__)
# include <sys/types.h>
# define USE_INT64 1
# 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
#endif
#ifdef USE_INT64