diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/svgtiny_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/svgtiny_test.c b/test/svgtiny_test.c index 2a2c862..1b507fd 100644 --- a/test/svgtiny_test.c +++ b/test/svgtiny_test.c @@ -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"); |