[cairo] [PATCH] (disregard previous) add missing limits.h to
pattern and traps
John K Luebs
jkluebs at luebsphoto.com
Sun Apr 18 23:32:35 PDT 2004
D'oh, I managed not to send the complete necessary patch.
limits.h is missing from both cairo_traps.c and cairo_pattern.c
and it is needed in both.
Here is the patch that adds limits.h to the two files.
Thanks,
-jkl
diff -puN src/cairo_traps.c~cairo-traps-limits-include src/cairo_traps.c
--- cairo/src/cairo_traps.c~cairo-traps-limits-include 2004-04-19 02:09:35.000000000 -0400
+++ cairo-luebsj/src/cairo_traps.c 2004-04-19 02:10:34.000000000 -0400
@@ -22,6 +22,8 @@
* 2002-07-15: Converted from XRenderCompositeDoublePoly to cairo_trap. Carl D. Worth
*/
+#include <limits.h>
+
#include "cairoint.h"
#define CAIRO_TRAPS_GROWTH_INC 10
diff -puN src/cairo_pattern.c~cairo-traps-limits-include src/cairo_pattern.c
--- cairo/src/cairo_pattern.c~cairo-traps-limits-include 2004-04-19 02:29:13.000000000 -0400
+++ cairo-luebsj/src/cairo_pattern.c 2004-04-19 02:29:32.000000000 -0400
@@ -25,6 +25,8 @@
* Author: David Reveman <c99drn at cs.umu.se>
*/
+#include <limits.h>
+
#include "cairoint.h"
void
_
More information about the cairo
mailing list