--- gigedit/trunk/src/gigedit/paramedit.cpp 2015/09/17 20:43:47 2843 +++ gigedit/trunk/src/gigedit/paramedit.cpp 2015/09/20 08:49:40 2844 @@ -19,6 +19,14 @@ #include +#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 "paramedit.h" #include "global.h"