--- gigedit/trunk/src/gigedit/dimensionmanager.cpp 2014/06/16 15:24:54 2641 +++ gigedit/trunk/src/gigedit/dimensionmanager.cpp 2015/09/20 08:49:40 2844 @@ -17,6 +17,14 @@ * 02110-1301 USA. */ +#include +// threads.h must be included first to be able to build with +// G_DISABLE_DEPRECATED +#if (GLIBMM_MAJOR_VERSION == 2 && GLIBMM_MINOR_VERSION == 31 && GLIBMM_MICRO_VERSION >= 2) || \ + (GLIBMM_MAJOR_VERSION == 2 && GLIBMM_MINOR_VERSION > 31) || GLIBMM_MAJOR_VERSION > 2 +#include +#endif + #include "dimensionmanager.h" #include