diff --git a/gobject/gobject.c b/gobject/gobject.c index f9280c24d..19434057c 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -26,7 +26,12 @@ #include #include +/* fool the single inclusion guard in gatomic.h, which is directly + * included by gdatasetprivate.h + */ +#define GLIB_COMPILATION #include "glib/gdatasetprivate.h" +#undef GLIB_COMPILATION #include "gobject.h" #include "gvaluecollector.h"