diff options
Diffstat (limited to 'tests/document-input-stream.c')
-rw-r--r-- | tests/document-input-stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/document-input-stream.c b/tests/document-input-stream.c index 2da42d9b..930912e6 100644 --- a/tests/document-input-stream.c +++ b/tests/document-input-stream.c @@ -140,6 +140,9 @@ test_consecutive_multibyte_big_read () int main (int argc, char *argv[]) { +#if !GLIB_CHECK_VERSION (2, 36, 0) + g_type_init (); +#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/document-input-stream/empty", test_empty); |