diff options
Diffstat (limited to 'examples/simple-example.c')
-rw-r--r-- | examples/simple-example.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/simple-example.c b/examples/simple-example.c index 5cf5913..e3b367c 100644 --- a/examples/simple-example.c +++ b/examples/simple-example.c @@ -101,7 +101,9 @@ main(int argc, char *argv[]) g_debug("Using stun server '[%s]:%u'\n", stun_addr, stun_port); } +#if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init(); +#endif gloop = g_main_loop_new(NULL, FALSE); io_stdin = g_io_channel_unix_new(fileno(stdin)); |