Make sure we're not including the gettext macros in header files and deal with the repercussions of that.
--- a/finch/finch.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/finch.c Thu May 21 21:21:54 2020 -0500
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
-#include <glib/gi18n-lib.h>
--- a/finch/gntaccount.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntaccount.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/finch/gntblist.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntblist.c Thu May 21 21:21:54 2020 -0500
@@ -24,6 +24,8 @@
+#include <glib/gi18n-lib.h> --- a/finch/gntconn.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntconn.c Thu May 21 21:21:54 2020 -0500
@@ -22,6 +22,8 @@
+#include <glib/gi18n-lib.h> --- a/finch/gntconv.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntconv.c Thu May 21 21:21:54 2020 -0500
@@ -24,6 +24,8 @@
+#include <glib/gi18n-lib.h> --- a/finch/gntdebug.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntdebug.c Thu May 21 21:21:54 2020 -0500
@@ -20,11 +20,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/finch/gntlog.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntlog.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/finch/gntmedia.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntmedia.c Thu May 21 21:21:54 2020 -0500
@@ -20,9 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
#include <glib/gi18n-lib.h>
--- a/finch/gntplugin.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntplugin.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/finch/gntsound.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntsound.c Thu May 21 21:21:54 2020 -0500
@@ -20,9 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/finch/gntui.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/gntui.c Thu May 21 21:21:54 2020 -0500
@@ -20,9 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
#include <glib/gi18n-lib.h>
--- a/finch/plugins/gntgf.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/plugins/gntgf.c Thu May 21 21:21:54 2020 -0500
@@ -38,6 +38,8 @@
+#include <glib/gi18n-lib.h> --- a/finch/plugins/gnthistory.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/plugins/gnthistory.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,8 @@
/* Ripped from gtk/plugins/history.c */
+#include <glib/gi18n-lib.h> --- a/finch/plugins/gnttinyurl.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/plugins/gnttinyurl.c Thu May 21 21:21:54 2020 -0500
@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include <libsoup/soup.h>
--- a/finch/plugins/grouping.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/plugins/grouping.c Thu May 21 21:21:54 2020 -0500
@@ -15,6 +15,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+#include <glib/gi18n-lib.h> --- a/finch/plugins/lastlog.c Mon May 11 22:31:08 2020 -0500
+++ b/finch/plugins/lastlog.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,8 @@
#define PLUGIN_STATIC_NAME GntLastlog
+#include <glib/gi18n-lib.h> --- a/libpurple/account.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/account.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/accounts.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/accounts.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/buddylist.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/buddylist.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "conversation.h"
@@ -1981,6 +1984,11 @@
+purple_blist_get_default_group_name(void) { purple_blist_request_add_buddy(PurpleAccount *account, const char *username,
--- a/libpurple/buddylist.h Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/buddylist.h Thu May 21 21:21:54 2020 -0500
@@ -22,8 +22,6 @@
#ifndef PURPLE_BUDDY_LIST_H
#define PURPLE_BUDDY_LIST_H
-#include <glib/gi18n-lib.h>
* @section_id: libpurple-buddylist
@@ -39,7 +37,7 @@
#define PURPLE_TYPE_BUDDY_LIST (purple_buddy_list_get_type())
typedef struct _PurpleBuddyList PurpleBuddyList;
-#define PURPLE_BLIST_DEFAULT_GROUP_NAME _("Buddies")
+#define PURPLE_BLIST_DEFAULT_GROUP_NAME (purple_blist_get_default_group_name()) @@ -435,6 +433,15 @@
void purple_blist_walk(PurpleBlistWalkFunc group_func, PurpleBlistWalkFunc chat_func, PurpleBlistWalkFunc meta_contact_func, PurpleBlistWalkFunc contact_func, gpointer data);
+ * purple_blist_get_default_group_name: + * Gets the default group name for the buddy list. + * Returns: The name of the default group. +const gchar *purple_blist_get_default_group_name(void); /****************************************************************************************/
/* Buddy list file management API */
/****************************************************************************************/
--- a/libpurple/connection.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/connection.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/conversation.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/conversation.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/conversationtypes.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/conversationtypes.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "conversationtypes.h"
--- a/libpurple/core.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/core.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/keyring.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/keyring.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
+#include <glib/gi18n-lib.h> --- a/libpurple/log.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/log.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/media/backend-fs2.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/media/backend-fs2.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/mediamanager.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/mediamanager.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/message.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/message.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/options.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/options.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/plugins.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/plugins.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/presence.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/presence.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "conversation.h"
--- a/libpurple/protocols/bonjour/bonjour.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/bonjour/bonjour.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> @@ -51,6 +54,11 @@
+bonjour_get_group_name(void) { bonjour_removeallfromlocal(PurpleConnection *conn, PurpleGroup *bonjour_group)
--- a/libpurple/protocols/bonjour/bonjour.h Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/bonjour/bonjour.h Thu May 21 21:21:54 2020 -0500
@@ -33,7 +33,7 @@
-#define BONJOUR_GROUP_NAME _("Bonjour")
+#define BONJOUR_GROUP_NAME (bonjour_get_group_name()) #define BONJOUR_PROTOCOL_NAME "bonjour"
#define BONJOUR_ICON_NAME "bonjour"
@@ -78,4 +78,6 @@
const char *bonjour_get_jid(PurpleAccount *account);
+const gchar *bonjour_get_group_name(void); #endif /* PURPLE_BONJOUR_BONJOUR_H */
--- a/libpurple/protocols/bonjour/bonjour_ft.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/bonjour/bonjour_ft.c Thu May 21 21:21:54 2020 -0500
@@ -19,9 +19,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
--- a/libpurple/protocols/bonjour/xmpp.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/bonjour/xmpp.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "purpleprivate.h"
--- a/libpurple/protocols/facebook/facebook.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/facebook/facebook.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/gg/gg.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/gg/gg.c Thu May 21 21:21:54 2020 -0500
@@ -26,6 +26,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "purpleprivate.h"
--- a/libpurple/protocols/gg/message-prpl.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/gg/message-prpl.c Thu May 21 21:21:54 2020 -0500
@@ -25,6 +25,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "message-prpl.h"
--- a/libpurple/protocols/irc/dcc_send.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/irc/dcc_send.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/irc/irc.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/irc/irc.c Thu May 21 21:21:54 2020 -0500
@@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/irc/msgs.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/irc/msgs.c Thu May 21 21:21:54 2020 -0500
@@ -24,6 +24,8 @@
* possible for a malicious server or man-in-the-middle to trigger a crash.
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/irc/parse.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/irc/parse.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/jabber/adhoccommands.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/adhoccommands.c Thu May 21 21:21:54 2020 -0500
@@ -21,6 +21,8 @@
+#include <glib/gi18n-lib.h> #include "adhoccommands.h"
--- a/libpurple/protocols/jabber/auth_cyrus.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/auth_cyrus.c Thu May 21 21:21:54 2020 -0500
@@ -21,9 +21,7 @@
#include <glib/gi18n-lib.h>
--- a/libpurple/protocols/jabber/google/google_session.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/google/google_session.c Thu May 21 21:21:54 2020 -0500
@@ -18,9 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
--- a/libpurple/protocols/jabber/gtalk.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/gtalk.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/jabber/jabber.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/jabber.c Thu May 21 21:21:54 2020 -0500
@@ -21,9 +21,7 @@
#include <glib/gi18n-lib.h>
--- a/libpurple/protocols/jabber/jingle/rtp.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/jingle/rtp.c Thu May 21 21:21:54 2020 -0500
@@ -22,9 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
--- a/libpurple/protocols/jabber/jutil.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/jutil.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/jabber/si.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/si.c Thu May 21 21:21:54 2020 -0500
@@ -22,9 +22,7 @@
--- a/libpurple/protocols/jabber/useravatar.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/useravatar.c Thu May 21 21:21:54 2020 -0500
@@ -21,9 +21,7 @@
--- a/libpurple/protocols/jabber/usernick.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/usernick.c Thu May 21 21:21:54 2020 -0500
@@ -21,6 +21,8 @@
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/jabber/xdata.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/xdata.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/jabber/xmpp.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/jabber/xmpp.c Thu May 21 21:21:54 2020 -0500
@@ -20,6 +20,8 @@
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/novell/nmuser.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/novell/nmuser.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,8 @@
+#include <glib/gi18n-lib.h> --- a/libpurple/protocols/novell/novell.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/novell/novell.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,8 @@
+#include <glib/gi18n-lib.h> # include <sys/utsname.h>
--- a/libpurple/protocols/sametime/sametime.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/sametime/sametime.c Thu May 21 21:21:54 2020 -0500
@@ -21,6 +21,8 @@
+#include <glib/gi18n-lib.h> #define BUF_LONG (BUF_LEN * 2)
--- a/libpurple/protocols/simple/simple.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/simple/simple.c Thu May 21 21:21:54 2020 -0500
@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "purpleprivate.h"
--- a/libpurple/protocols/zephyr/zephyr.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/protocols/zephyr/zephyr.c Thu May 21 21:21:54 2020 -0500
@@ -27,6 +27,8 @@
+#include <glib/gi18n-lib.h> --- a/libpurple/proxy.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/proxy.c Thu May 21 21:21:54 2020 -0500
@@ -25,6 +25,8 @@
, 2nd provide an easy way to add socks support
, 3rd draw women to it like flies to honey */
+#include <glib/gi18n-lib.h> --- a/libpurple/request.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/request.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/savedstatuses.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/savedstatuses.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> --- a/libpurple/server.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/server.c Thu May 21 21:21:54 2020 -0500
@@ -23,6 +23,8 @@
/* This file is the fullcrap */
+#include <glib/gi18n-lib.h> #include "conversation.h"
--- a/libpurple/status.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/status.c Thu May 21 21:21:54 2020 -0500
@@ -18,6 +18,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "purpleprivate.h"
--- a/libpurple/util.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/util.c Thu May 21 21:21:54 2020 -0500
@@ -16,6 +16,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "purpleprivate.h"
--- a/libpurple/xfer.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/xfer.c Thu May 21 21:21:54 2020 -0500
@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
+#include <glib/gi18n-lib.h> #include "glibcompat.h" /* for purple_g_stat on win32 */
--- a/libpurple/xmlnode.c Mon May 11 22:31:08 2020 -0500
+++ b/libpurple/xmlnode.c Thu May 21 21:21:54 2020 -0500
@@ -24,6 +24,8 @@
* write my own stuff. Also, re-writing this lets me be as lightweight
* as I want to be. Thank you libxode for giving me a good starting point */
+#include <glib/gi18n-lib.h>