[cairo-commit] util/cairo-trace

Andrea Canciani ranma42 at kemper.freedesktop.org
Wed Dec 30 05:09:28 PST 2009


 util/cairo-trace/trace.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 21560b3ec6d015004867207c5bdd90061b8a5d80
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Fri Dec 11 10:29:12 2009 +0100

    [trace] Fix compilation when FreeType is disabled
    
    cairo-trace needs some headers which are missing if freetype is
    not enabled. Adding them explicitly fixes compilation.

diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index ce2feb5..3f7ae26 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -42,6 +42,9 @@
 #include <locale.h> /* for locale independent %f printing */
 #include <ctype.h>
 #include <assert.h>
+#include <stdlib.h>
+#include <limits.h>
+#include <stdarg.h>
 
 #include <cairo.h>
 #if CAIRO_HAS_FT_FONT


More information about the cairo-commit mailing list