summaryrefslogtreecommitdiff
path: root/tests/simple-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple-httpd.c')
-rw-r--r--tests/simple-httpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/simple-httpd.c b/tests/simple-httpd.c
index db2ad410..d50f38e7 100644
--- a/tests/simple-httpd.c
+++ b/tests/simple-httpd.c
@@ -128,6 +128,7 @@ main (int argc, char **argv)
const char *ssl_cert_file = NULL, *ssl_key_file = NULL;
g_type_init ();
+ g_thread_init (NULL);
signal (SIGINT, quit);
while ((opt = getopt (argc, argv, "p:k:c:s:")) != -1) {