diff --git a/glib/gvariant-internal.h b/glib/gvariant-internal.h index 66a080af4..8d4a577cb 100644 --- a/glib/gvariant-internal.h +++ b/glib/gvariant-internal.h @@ -28,9 +28,8 @@ #ifndef __G_VARIANT_INTERNAL_H__ #define __G_VARIANT_INTERNAL_H__ -#ifndef GLIB_COMPILATION -#define GLIB_COMPILATION -#endif +/* Hack */ +#define __GLIB_H_INSIDE__ #include #include @@ -38,6 +37,8 @@ #include "gvariant-serialiser.h" #include "gvarianttypeinfo.h" +#undef __GLIB_H_INSIDE__ + gboolean g_variant_format_string_scan (const gchar *string, const gchar *limit, const gchar **endptr);