diff options
Diffstat (limited to 'gtk/gtkversion.h.in')
-rw-r--r-- | gtk/gtkversion.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkversion.h.in b/gtk/gtkversion.h.in index b0b20bd5a1..172c688763 100644 --- a/gtk/gtkversion.h.in +++ b/gtk/gtkversion.h.in @@ -24,6 +24,10 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#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_VERSION_H__ #define __GTK_VERSION_H__ |