summaryrefslogtreecommitdiffstats
path: root/bin/tools/benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tools/benchmark.c')
-rw-r--r--bin/tools/benchmark.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/tools/benchmark.c b/bin/tools/benchmark.c
index fee40f2..1e2c79f 100644
--- a/bin/tools/benchmark.c
+++ b/bin/tools/benchmark.c
@@ -228,7 +228,10 @@ main (int argc, char *argv[])
};
(void) signal (SIGINT, sigint_handler);
+
+#if !(GLIB_CHECK_VERSION (2, 36, 0))
g_type_init ();
+#endif
manager = uca_plugin_manager_new ();
context = uca_option_context_new (manager);