--- glibmm-2.48.1/glib/glibmm/dispatcher.cc.orig 2016-03-28 21:50:50.000000000 +0200 +++ glibmm-2.48.1/glib/glibmm/dispatcher.cc 2016-06-25 08:53:41.508797517 +0200 @@ -36,6 +36,7 @@ #include #include #include +#include #else #include #endif --- glibmm-2.48.1/glib/glibmm/objectbase.h.orig 2016-03-31 11:39:07.000000000 +0200 +++ glibmm-2.48.1/glib/glibmm/objectbase.h 2016-06-25 08:50:30.876496926 +0200 @@ -31,6 +31,7 @@ #include // Needed until the next ABI break. #include // Not used by ObjectBase any more, but user code may rely on it being here. #include +#include #ifndef DOXYGEN_SHOULD_SKIP_THIS extern "C" { --- glibmm-2.64.4/glib/src/thread.ccg.orig 2020-11-21 12:09:15.168252200 +0100 +++ glibmm-2.64.4/glib/src/thread.ccg 2020-11-22 19:15:06.082376889 +0100 @@ -147,7 +147,7 @@ Thread::set_priority(ThreadPriority prio ThreadPriority Thread::get_priority() const { - return THREAD_PRIORITY_NORMAL; // An appropriate result now that this is deprecated because the + return Glib::THREAD_PRIORITY_NORMAL; // An appropriate result now that this is deprecated because the // priority concept has been removed. } --- glibmm-2.64.4/glib/src/thread.hg.orig 2020-11-21 12:09:15.168252200 +0100 +++ glibmm-2.64.4/glib/src/thread.hg 2020-11-22 19:13:56.779419002 +0100 @@ -53,6 +53,7 @@ /* Shadow THREAD_PRIORITY_NORMAL macro (from winbase.h). */ +#include // ensure it's included before shadowing, not after #if defined(THREAD_PRIORITY_NORMAL) && !defined(GLIBMM_MACRO_SHADOW_THREAD_PRIORITY_NORMAL) enum { GLIBMM_MACRO_DEFINITION_THREAD_PRIORITY_NORMAL = THREAD_PRIORITY_NORMAL }; #undef THREAD_PRIORITY_NORMAL