summaryrefslogtreecommitdiff
path: root/glib/gmarkup.h
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gmarkup.h')
-rw-r--r--glib/gmarkup.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/glib/gmarkup.h b/glib/gmarkup.h
index 340a21810..70b82c0f3 100644
--- a/glib/gmarkup.h
+++ b/glib/gmarkup.h
@@ -18,6 +18,10 @@
* Boston, MA 02111-1307, USA.
*/
+#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__G_LIB_H__) && !defined (GLIB_COMPILATION)
+#error "Only <glib.h> can be included directly."
+#endif
+
#ifndef __G_MARKUP_H__
#define __G_MARKUP_H__
@@ -152,4 +156,3 @@ gboolean g_markup_collect_attributes (const gchar *element_name,
G_END_DECLS
#endif /* __G_MARKUP_H__ */
-