diff --git a/lib/glibcompat.h b/lib/glibcompat.h index ba25f3cdd..58f457e46 100644 --- a/lib/glibcompat.h +++ b/lib/glibcompat.h @@ -1,6 +1,10 @@ #ifndef MC_GLIBCOMPAT_H #define MC_GLIBCOMPAT_H +#if ! GLIB_CHECK_VERSION (2, 22, 0) +#include /* for g_error_new_valist() */ +#endif /* ! GLIB_CHECK_VERSION (2, 22, 0) */ + /*** typedefs(not structures) and defined constants **********************************************/ /*** enums ***************************************************************************************/