[004/906] Remove all config.h includes from header files, add it to each source file...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 7 Nov 2003 12:46:52 +0000 (12:46 +0000)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:15 +0000 (18:36 +0100)
gst/gl/gstgl_rgbimage.c
gst/gl/gstglxwindow.c
gst/gl/regcomb_yuvrgb.c

index a09e7a256ef67f7db7ae085aa2cad8e5fd584e33..ab856bbc772bb3633ac9c28149e43bf1d75df981 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <gst/gst.h>
 
 /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors
index 3f9d3df9058a954ef33327938b7b9c05df1b6944..3d173b2be6349c0613f4f1152341b91871a2fef7 100644 (file)
@@ -1,5 +1,9 @@
 /* This stores the common OpenGL initialization stuff for all instances */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors
  * unless this is defined:
  * warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
index 39c86a0f55becb0cc12aeec7c5e5b955e2bcf039..d06427f428fde911551d78b4cec8effe6f82f050 100644 (file)
@@ -1,5 +1,10 @@
 // these includes don't do a lot in Linux, they are more needed in Win32 (for the OpenGL function call pointers)
 // but they are used at least for checking if the necessary extensions are present
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "ARB_multitexture.h"
 #include "NV_register_combiners.h"
 #include "EXT_paletted_texture.h"