aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-11-11 00:04:14 +0000
committerGerald Combs <gerald@wireshark.org>2011-11-11 00:04:14 +0000
commitc657812a91d4ff01798c1184a2011a5c9835a6dc (patch)
treeef82ed4be8b0172c2dda429d43ce0d6d21ed1253 /tshark.c
parentc356d4f2c11a6d03fed51b606ab2ca09bd86f460 (diff)
Initialize threads at program startup. Hopefully this will fix the
current build test failures. svn path=/trunk/; revision=39790
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index e5c7d3436d..a8b540a882 100644
--- a/tshark.c
+++ b/tshark.c
@@ -855,6 +855,9 @@ main(int argc, char *argv[])
#ifdef _WIN32
arg_list_utf_16to8(argc, argv);
+#if !GLIB_CHECK_VERSION(2,31,0)
+ g_thread_init(NULL);
+#endif
#endif /* _WIN32 */
/*