summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/common/hexchat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c
index 2d9ff424..f5f4232e 100644
--- a/src/common/hexchat.c
+++ b/src/common/hexchat.c
@@ -51,7 +51,9 @@
 #include "url.h"
 #include "hexchatc.h"
 
+#if ! GLIB_CHECK_VERSION (2, 36, 0)
 #include <glib-object.h>			/* for g_type_init() */
+#endif
 
 #ifdef USE_OPENSSL
 #include <openssl/ssl.h>			/* SSL_() */