summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-04-27 21:38:13 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-04-27 21:38:13 +0200
commit8e3db00daccbad5c0c87c6f6d118a9db44238ab3 (patch)
tree141c6e00cfa7368d4e1fc4c7a29b01e0ea61fe83 /src/common
parentd20dccbe025c21a4dad10bfb71f192925543b7c3 (diff)
Don't include if unused
Diffstat (limited to 'src/common')
-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_() */