--- a/libpurple/glibcompat.h Wed Oct 14 23:05:50 2020 -0500
+++ b/libpurple/glibcompat.h Thu Oct 15 20:16:13 2020 -0500
@@ -19,10 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
-#if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION)
-# error "only <purple.h> may be included directly"
#ifndef PURPLE_GLIBCOMPAT_H
#define PURPLE_GLIBCOMPAT_H
@@ -55,7 +51,6 @@
#if !GLIB_CHECK_VERSION(2, 62, 0)
#define g_date_time_format_iso8601(dt) (purple_compat_date_time_format_iso8601((dt)))
gchar *purple_compat_date_time_format_iso8601(GDateTime *datetime);
#endif /* GLIB_CHECK_VERSION(2, 62, 0) */
--- a/libpurple/plugins/notification-sound/notification-sound.c Wed Oct 14 23:05:50 2020 -0500
+++ b/libpurple/plugins/notification-sound/notification-sound.c Thu Oct 15 20:16:13 2020 -0500
@@ -24,6 +24,7 @@
#include <glib/gi18n-lib.h>
+#include "libpurple/glibcompat.h"