/pidgin/main: 28302ab00d1a: Include gmodule.h in each protocol's...

Michael McConville mmcco at mykolab.com
Sat Dec 19 22:48:36 EST 2015


Changeset: 28302ab00d1a15d0db7049adae950237ed0e157c
Author:	 Michael McConville <mmcco at mykolab.com>
Date:	 2015-12-19 22:48 -0500
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/28302ab00d1a

Description:

Include gmodule.h in each protocol's eponymous header because they all
use its macro G_MODULE_EXPORT.

diffstat:

 libpurple/protocols/bonjour/bonjour.h   |  2 ++
 libpurple/protocols/facebook/facebook.h |  1 +
 libpurple/protocols/gg/gg.h             |  1 +
 libpurple/protocols/irc/irc.h           |  1 +
 libpurple/protocols/jabber/jabber.h     |  1 +
 libpurple/protocols/msn/msn.h           |  2 ++
 libpurple/protocols/mxit/mxit.h         |  1 +
 libpurple/protocols/novell/novell.h     |  2 ++
 libpurple/protocols/oscar/oscar.h       |  1 +
 libpurple/protocols/sametime/sametime.h |  2 ++
 libpurple/protocols/silc/silcpurple.h   |  2 ++
 libpurple/protocols/simple/simple.h     |  1 +
 libpurple/protocols/yahoo/yahoo.h       |  2 ++
 libpurple/protocols/zephyr/zephyr.h     |  2 ++
 14 files changed, 21 insertions(+), 0 deletions(-)

diffs (161 lines):

diff --git a/libpurple/protocols/bonjour/bonjour.h b/libpurple/protocols/bonjour/bonjour.h
--- a/libpurple/protocols/bonjour/bonjour.h
+++ b/libpurple/protocols/bonjour/bonjour.h
@@ -26,6 +26,8 @@
 #ifndef _BONJOUR_H_
 #define _BONJOUR_H_
 
+#include <gmodule.h>
+
 #include "internal.h"
 #include "protocol.h"
 
diff --git a/libpurple/protocols/facebook/facebook.h b/libpurple/protocols/facebook/facebook.h
--- a/libpurple/protocols/facebook/facebook.h
+++ b/libpurple/protocols/facebook/facebook.h
@@ -32,6 +32,7 @@
  */
 
 #include <glib.h>
+#include <gmodule.h>
 
 #define FACEBOOK_TYPE_PROTOCOL  (facebook_protocol_get_type())
 #define FACEBOOK_PROTOCOL(obj)  (G_TYPE_CHECK_INSTANCE_CAST((obj), FACEBOOK_TYPE_PROTOCOL, FacebookProtocol))
diff --git a/libpurple/protocols/gg/gg.h b/libpurple/protocols/gg/gg.h
--- a/libpurple/protocols/gg/gg.h
+++ b/libpurple/protocols/gg/gg.h
@@ -26,6 +26,7 @@
 
 #define GGP_UIN_LEN_MAX 10
 
+#include <gmodule.h>
 #include <libgadu.h>
 
 #include "internal.h"
diff --git a/libpurple/protocols/irc/irc.h b/libpurple/protocols/irc/irc.h
--- a/libpurple/protocols/irc/irc.h
+++ b/libpurple/protocols/irc/irc.h
@@ -24,6 +24,7 @@
 #define _PURPLE_IRC_H
 
 #include <glib.h>
+#include <gmodule.h>
 
 #ifdef HAVE_CYRUS_SASL
 #include <sasl/sasl.h>
diff --git a/libpurple/protocols/jabber/jabber.h b/libpurple/protocols/jabber/jabber.h
--- a/libpurple/protocols/jabber/jabber.h
+++ b/libpurple/protocols/jabber/jabber.h
@@ -56,6 +56,7 @@ typedef struct _JabberStream JabberStrea
 
 #include <libxml/parser.h>
 #include <glib.h>
+#include <gmodule.h>
 #include "circularbuffer.h"
 #include "connection.h"
 #include "dnsquery.h"
diff --git a/libpurple/protocols/msn/msn.h b/libpurple/protocols/msn/msn.h
--- a/libpurple/protocols/msn/msn.h
+++ b/libpurple/protocols/msn/msn.h
@@ -110,6 +110,8 @@ typedef enum
 	MSN_CLIENT_VER_15_0 = 0xB0	/* MSNC11 */
 } MsnClientVerId;
 
+#include <gmodule.h>
+
 #include "internal.h"
 
 #include "session.h"
diff --git a/libpurple/protocols/mxit/mxit.h b/libpurple/protocols/mxit/mxit.h
--- a/libpurple/protocols/mxit/mxit.h
+++ b/libpurple/protocols/mxit/mxit.h
@@ -26,6 +26,7 @@
 #ifndef		_MXIT_H_
 #define		_MXIT_H_
 
+#include <gmodule.h>
 
 #include "internal.h"
 #include "http.h"
diff --git a/libpurple/protocols/novell/novell.h b/libpurple/protocols/novell/novell.h
--- a/libpurple/protocols/novell/novell.h
+++ b/libpurple/protocols/novell/novell.h
@@ -22,6 +22,8 @@
 #ifndef _NOVELL_H_
 #define _NOVELL_H_
 
+#include <gmodule.h>
+
 #include "protocol.h"
 
 #define NOVELL_TYPE_PROTOCOL             (novell_protocol_get_type())
diff --git a/libpurple/protocols/oscar/oscar.h b/libpurple/protocols/oscar/oscar.h
--- a/libpurple/protocols/oscar/oscar.h
+++ b/libpurple/protocols/oscar/oscar.h
@@ -45,6 +45,7 @@
 #include <stdarg.h>
 #include <errno.h>
 #include <time.h>
+#include <gmodule.h>
 
 #ifndef _WIN32
 #include <sys/time.h>
diff --git a/libpurple/protocols/sametime/sametime.h b/libpurple/protocols/sametime/sametime.h
--- a/libpurple/protocols/sametime/sametime.h
+++ b/libpurple/protocols/sametime/sametime.h
@@ -1,6 +1,8 @@
 #ifndef _SAMETIME_H_
 #define _SAMETIME_H_
 
+#include <gmodule.h>
+
 #define MW_TYPE_PROTOCOL             (mw_protocol_get_type())
 #define MW_PROTOCOL(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj), MW_TYPE_PROTOCOL, mwProtocol))
 #define MW_PROTOCOL_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST((klass), MW_TYPE_PROTOCOL, mwProtocolClass))
diff --git a/libpurple/protocols/silc/silcpurple.h b/libpurple/protocols/silc/silcpurple.h
--- a/libpurple/protocols/silc/silcpurple.h
+++ b/libpurple/protocols/silc/silcpurple.h
@@ -20,6 +20,8 @@
 #ifndef SILCPURPLE_H
 #define SILCPURPLE_H
 
+#include <gmodule.h>
+
 /* Purple includes */
 #include "internal.h"
 #include "account.h"
diff --git a/libpurple/protocols/simple/simple.h b/libpurple/protocols/simple/simple.h
--- a/libpurple/protocols/simple/simple.h
+++ b/libpurple/protocols/simple/simple.h
@@ -24,6 +24,7 @@
 #define _PURPLE_SIMPLE_H
 
 #include <glib.h>
+#include <gmodule.h>
 #include <time.h>
 
 #include "cipher.h"
diff --git a/libpurple/protocols/yahoo/yahoo.h b/libpurple/protocols/yahoo/yahoo.h
--- a/libpurple/protocols/yahoo/yahoo.h
+++ b/libpurple/protocols/yahoo/yahoo.h
@@ -22,6 +22,8 @@
 #ifndef _YAHOO_H_
 #define _YAHOO_H_
 
+#include <gmodule.h>
+
 #include "protocol.h"
 
 #define YAHOO_TYPE_PROTOCOL             (yahoo_protocol_get_type())
diff --git a/libpurple/protocols/zephyr/zephyr.h b/libpurple/protocols/zephyr/zephyr.h
--- a/libpurple/protocols/zephyr/zephyr.h
+++ b/libpurple/protocols/zephyr/zephyr.h
@@ -22,6 +22,8 @@
 #ifndef _ZEPHYR_H_
 #define _ZEPHYR_H_
 
+#include <gmodule.h>
+
 #include "protocol.h"
 
 #define ZEPHYR_TYPE_PROTOCOL             (zephyr_protocol_get_type())



More information about the Commits mailing list