diff --git a/gtk/gtkversion.h.in b/gtk/gtkversion.h.in index a08f00d4e8..89706c5d7a 100644 --- a/gtk/gtkversion.h.in +++ b/gtk/gtkversion.h.in @@ -22,6 +22,13 @@ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. */ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef __GTK_VERSION_H__ +#define __GTK_VERSION_H__ + /** * SECTION:gtkfeatures * @Short_description: Variables and functions to check the GTK+ version @@ -32,13 +39,6 @@ * use the features described here. */ -#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - -#ifndef __GTK_VERSION_H__ -#define __GTK_VERSION_H__ - /** * GTK_MAJOR_VERSION: *