diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-07 12:47:02 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-11-07 12:47:02 +0000 |
commit | cb90622b41d826e7e316ce1e3c16e5a5c9d028ef (patch) | |
tree | 332fb8ea7be82946452c5628daf4ee0f6686f4b2 /sys/glsink | |
parent | ac872637ab3e94f9ef7d553a40994d1ba43eb80f (diff) | |
download | gst-plugins-bad-cb90622b41d826e7e316ce1e3c16e5a5c9d028ef.tar.gz gst-plugins-bad-cb90622b41d826e7e316ce1e3c16e5a5c9d028ef.tar.bz2 gst-plugins-bad-cb90622b41d826e7e316ce1e3c16e5a5c9d028ef.zip |
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
Diffstat (limited to 'sys/glsink')
-rw-r--r-- | sys/glsink/gstgl_rgbimage.c | 4 | ||||
-rw-r--r-- | sys/glsink/gstglxwindow.c | 4 | ||||
-rw-r--r-- | sys/glsink/regcomb_yuvrgb.c | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/sys/glsink/gstgl_rgbimage.c b/sys/glsink/gstgl_rgbimage.c index a09e7a25..ab856bbc 100644 --- a/sys/glsink/gstgl_rgbimage.c +++ b/sys/glsink/gstgl_rgbimage.c @@ -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 diff --git a/sys/glsink/gstglxwindow.c b/sys/glsink/gstglxwindow.c index 3f9d3df9..3d173b2b 100644 --- a/sys/glsink/gstglxwindow.c +++ b/sys/glsink/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/sys/glsink/regcomb_yuvrgb.c b/sys/glsink/regcomb_yuvrgb.c index 39c86a0f..d06427f4 100644 --- a/sys/glsink/regcomb_yuvrgb.c +++ b/sys/glsink/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" |