/pidgin/main: dc0a29ff7087: Include glib.h before using GLIB_CHE...

Ankit Vani a at nevitus.org
Tue Jan 28 14:21:20 EST 2014


Changeset: dc0a29ff7087d0544ce5fdc61e45d3c7e25e023d
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-29 00:50 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/dc0a29ff7087

Description:

Include glib.h before using GLIB_CHECK_VERSION

diffstat:

 libpurple/glibcompat.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff --git a/libpurple/glibcompat.h b/libpurple/glibcompat.h
--- a/libpurple/glibcompat.h
+++ b/libpurple/glibcompat.h
@@ -39,11 +39,11 @@
 #endif /* __clang__ */
 
 
+#include <glib.h>
+
 #if !GLIB_CHECK_VERSION(2, 32, 0)
 
-#include <glib.h>
 #include <glib-object.h>
-
 #include <string.h>
 
 #define G_GNUC_BEGIN_IGNORE_DEPRECATIONS



More information about the Commits mailing list