|
@@ -143,3 +143,44 @@ Index: src/cairo-xlib.h
|
|
|
#endif /* CAIRO_HAS_XLIB_SURFACE */
|
|
#endif /* CAIRO_HAS_XLIB_SURFACE */
|
|
|
#endif /* CAIRO_XLIB_H */
|
|
#endif /* CAIRO_XLIB_H */
|
|
|
|
|
|
|
|
|
|
+Index: src/cairoint.h
|
|
|
|
|
+--- src/cairoint.h.orig 2005-03-04 18:57:54 +0100
|
|
|
|
|
++++ src/cairoint.h 2005-03-30 17:39:07 +0200
|
|
|
|
|
+@@ -54,7 +54,16 @@
|
|
|
|
|
+ #include <string.h>
|
|
|
|
|
+ #include <math.h>
|
|
|
|
|
+ #include <limits.h>
|
|
|
|
|
+-#include <stdint.h>
|
|
|
|
|
++
|
|
|
|
|
++#if defined (__SVR4) && defined (__sun)
|
|
|
|
|
++# include <sys/int_types.h>
|
|
|
|
|
++#else
|
|
|
|
|
++# if defined (__OpenBSD__) || defined (__FreeBSD__)
|
|
|
|
|
++# include <inttypes.h>
|
|
|
|
|
++# else
|
|
|
|
|
++# include <stdint.h>
|
|
|
|
|
++# endif
|
|
|
|
|
++#endif
|
|
|
|
|
+
|
|
|
|
|
+ #include "cairo.h"
|
|
|
|
|
+
|
|
|
|
|
+Index: src/cairo-wideint.h
|
|
|
|
|
+--- src/cairo-wideint.h.orig 2005-02-22 20:24:50 +0100
|
|
|
|
|
++++ src/cairo-wideint.h 2005-03-30 17:42:19 +0200
|
|
|
|
|
+@@ -38,7 +38,15 @@
|
|
|
|
|
+ #ifndef CAIRO_WIDEINT_H
|
|
|
|
|
+ #define CAIRO_WIDEINT_H
|
|
|
|
|
+
|
|
|
|
|
+-#include <stdint.h>
|
|
|
|
|
++#if defined (__SVR4) && defined (__sun)
|
|
|
|
|
++# include <sys/int_types.h>
|
|
|
|
|
++#else
|
|
|
|
|
++# if defined (__OpenBSD__) || defined (__FreeBSD__)
|
|
|
|
|
++# include <inttypes.h>
|
|
|
|
|
++# else
|
|
|
|
|
++# include <stdint.h>
|
|
|
|
|
++# endif
|
|
|
|
|
++#endif
|
|
|
|
|
+
|
|
|
|
|
+ /*
|
|
|
|
|
+ * 64-bit datatypes. Two separate implementations, one using
|