From a4baf571d932c0d2ff6684da71e5f9fa807e47d9 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 7 Nov 2003 12:46:52 +0000 Subject: [PATCH] [004/906] Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files --- gst/gl/gstgl_rgbimage.c | 4 ++++ gst/gl/gstglxwindow.c | 4 ++++ gst/gl/regcomb_yuvrgb.c | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/gst/gl/gstgl_rgbimage.c b/gst/gl/gstgl_rgbimage.c index a09e7a2..ab856bb 100644 --- a/gst/gl/gstgl_rgbimage.c +++ b/gst/gl/gstgl_rgbimage.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors diff --git a/gst/gl/gstglxwindow.c b/gst/gl/gstglxwindow.c index 3f9d3df..3d173b2 100644 --- a/gst/gl/gstglxwindow.c +++ b/gst/gl/gstglxwindow.c @@ -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" diff --git a/gst/gl/regcomb_yuvrgb.c b/gst/gl/regcomb_yuvrgb.c index 39c86a0..d06427f 100644 --- a/gst/gl/regcomb_yuvrgb.c +++ b/gst/gl/regcomb_yuvrgb.c @@ -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" -- 2.7.4