[cairo-commit] cairo-demo/kapow kapow.c,1.2,1.3

Olivier Andrieu commit at pdx.freedesktop.org
Sun Jan 30 07:29:32 PST 2005


Committed by: oandrieu

Update of /cvs/cairo/cairo-demo/kapow
In directory gabe:/tmp/cvs-serv18364/kapow

Modified Files:
	kapow.c 
Log Message:
add includes for cairo-png.h and string.h


Index: kapow.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/kapow/kapow.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- kapow.c	24 Jan 2005 20:02:25 -0000	1.2
+++ kapow.c	30 Jan 2005 15:29:30 -0000	1.3
@@ -1,7 +1,13 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <libgen.h>
 #include <cairo.h>
+#ifdef CAIRO_HAS_PNG_SURFACE
+#include <cairo-png.h>
+#else
+#error This program requires the PNG backend
+#endif
 #include <math.h>
 
 const char filename[] = "kapow.png";




More information about the cairo-commit mailing list