aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/dumpindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libibex/dumpindex.c')
-rw-r--r--libibex/dumpindex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libibex/dumpindex.c b/libibex/dumpindex.c
index cf4f02cc8a..410a7083d6 100644
--- a/libibex/dumpindex.c
+++ b/libibex/dumpindex.c
@@ -37,6 +37,10 @@ int main(int argc, char **argv)
{
ibex *ib;
+#ifdef ENABLE_THREADS
+ g_thread_init(0);
+#endif
+
if (argc != 2) {
printf("Usage: %s ibexfile\n", argv[0]);
return 1;