summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcurve.h')
-rw-r--r--gtk/gtkcurve.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcurve.h b/gtk/gtkcurve.h
index 94c2c59b1b..09028fe13f 100644
--- a/gtk/gtkcurve.h
+++ b/gtk/gtkcurve.h
@@ -34,6 +34,10 @@
* distribution.
*/
+#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#ifndef __GTK_CURVE_H__
#define __GTK_CURVE_H__