[gtkglext] Let generated files acknowledge HAVE_CONFIG_H.



commit 7d0329babf880ed5ceaffac70ae9c9043c136159
Author: Ralf Corsepius <rcorsepius src gnome org>
Date:   Sat Dec 26 15:50:04 2009 +0100

    Let generated files acknowledge HAVE_CONFIG_H.

 gdk/glext/gen-gdkglglext-c.pl  |    4 ++++
 gdk/glext/gen-gdkglglxext-c.pl |    4 ++++
 gdk/glext/gen-gdkglwglext-c.pl |    4 ++++
 3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gdk/glext/gen-gdkglglext-c.pl b/gdk/glext/gen-gdkglglext-c.pl
index e35e8f6..be71802 100755
--- a/gdk/glext/gen-gdkglglext-c.pl
+++ b/gdk/glext/gen-gdkglglext-c.pl
@@ -20,6 +20,10 @@ print <<EOF;
  * This is a generated file.  Please modify "gen-gdkglglext-c.pl".
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include "gdkglprivate.h"
 #include "gdkglquery.h"
 #include "gdkglcontext.h"
diff --git a/gdk/glext/gen-gdkglglxext-c.pl b/gdk/glext/gen-gdkglglxext-c.pl
index f8fa823..69df05c 100755
--- a/gdk/glext/gen-gdkglglxext-c.pl
+++ b/gdk/glext/gen-gdkglglxext-c.pl
@@ -20,6 +20,10 @@ print <<EOF;
  * This is a generated file.  Please modify "gen-gdkglglxext-c.pl".
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include "gdkglx.h"
 #include "gdkglprivate-x11.h"
 #include "gdkglglxext.h"
diff --git a/gdk/glext/gen-gdkglwglext-c.pl b/gdk/glext/gen-gdkglwglext-c.pl
index 4dfdd88..6942096 100755
--- a/gdk/glext/gen-gdkglwglext-c.pl
+++ b/gdk/glext/gen-gdkglwglext-c.pl
@@ -20,6 +20,10 @@ print <<EOF;
  * This is a generated file.  Please modify "gen-gdkglwglext-c.pl".
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include "gdkglwin32.h"
 #include "gdkglprivate-win32.h"
 #include "gdkglwglext.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]