]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - test/svgtiny_test.c
Convert the last bits for libdom
[libsvgtiny.git] / test / svgtiny_test.c
index 2a2c862e4541d2ede3fe5da5678173f78dac9744..1b507fddfda7c2a811f9f379556dc26623debef0 100644 (file)
@@ -9,6 +9,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <stdlib.h>
 #include "svgtiny.h"
 
 
@@ -78,8 +79,8 @@ int main(int argc, char *argv[])
                case svgtiny_OUT_OF_MEMORY:
                        fprintf(stderr, "svgtiny_OUT_OF_MEMORY");
                        break;
-               case svgtiny_LIBXML_ERROR:
-                       fprintf(stderr, "svgtiny_LIBXML_ERROR");
+               case svgtiny_LIBDOM_ERROR:
+                       fprintf(stderr, "svgtiny_LIBDOM_ERROR");
                        break;
                case svgtiny_NOT_SVG:
                        fprintf(stderr, "svgtiny_NOT_SVG");