From 55e128cced7b03f90d3dcccb4c01730f310245fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 17 Feb 2014 23:48:22 +0100 Subject: test: various fixups for building without GLib --- test/dump_playlist.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/dump_playlist.cxx') diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx index d8a7c4bfa..9e2e10516 100644 --- a/test/dump_playlist.cxx +++ b/test/dump_playlist.cxx @@ -33,7 +33,9 @@ #include "thread/Cond.hxx" #include "Log.hxx" +#ifdef HAVE_GLIB #include +#endif #include #include @@ -53,8 +55,10 @@ int main(int argc, char **argv) /* initialize GLib */ +#ifdef HAVE_GLIB #if !GLIB_CHECK_VERSION(2,32,0) g_thread_init(NULL); +#endif #endif /* initialize MPD */ -- cgit v1.2.3