Bug 5544 - svg2png doesn't build
Summary: svg2png doesn't build
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: svg backend (show other bugs)
Version: 1.1.1
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Emmanuel Pacaud
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2006-01-08 04:09 UTC by Dom Lachowicz
Modified: 2006-01-19 12:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Dom Lachowicz 2006-01-08 04:09:02 UTC
Like bug 5306, because stdio.h isn't included, it thinks that fprintf is an
extern, thus breaking gcc 3.4.4.

Index: svg2png.c
===================================================================
RCS file: /cvs/cairo/cairo/test/svg2png.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 svg2png.c
--- svg2png.c   19 Dec 2005 21:59:35 -0000      1.1
+++ svg2png.c   7 Jan 2006 17:11:33 -0000
@@ -26,6 +26,7 @@
  */

 #include <stdlib.h>
+#include <stdio.h>
 #include <gdk/gdk.h>
 #include <gdk/gdkpixbuf.h>
 #include <librsvg/rsvg.h>
Comment 1 Emmanuel Pacaud 2006-01-20 07:40:00 UTC
Fixed in CVS.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.