/pidgin/main: abc36dad1363: Include glib.h before messing with a...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Wed Jan 29 07:41:41 EST 2014
Changeset: abc36dad13634eac8f238838e4bc7686c737f1d8
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-01-29 13:41 +0100
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/abc36dad1363
Description:
Include glib.h before messing with any defines
diffstat:
libpurple/glibcompat.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff --git a/libpurple/glibcompat.h b/libpurple/glibcompat.h
--- a/libpurple/glibcompat.h
+++ b/libpurple/glibcompat.h
@@ -25,6 +25,9 @@
* Also, any public API should not depend on this file.
*/
+#include <glib.h>
+
+
#ifdef __clang__
#undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS
@@ -39,8 +42,6 @@
#endif /* __clang__ */
-#include <glib.h>
-
#if !GLIB_CHECK_VERSION(2, 32, 0)
#include <glib-object.h>
More information about the Commits
mailing list