summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0dcac22..314748f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,6 +22,8 @@ THE SOFTWARE.
#include <piano.h>
#include <curl/curl.h>
+#include <libxml/parser.h>
+#include <libxml/tree.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@ -240,6 +242,7 @@ int main (int argc, char **argv) {
/* init some things */
curl_global_init (CURL_GLOBAL_SSL);
+ xmlInitParser ();
ao_initialize();
PianoInit (&ph);
@@ -384,6 +387,7 @@ int main (int argc, char **argv) {
PianoDestroy (&ph);
curl_global_cleanup ();
ao_shutdown();
+ xmlCleanupParser ();
return 0;
}