mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
[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
This commit is contained in:
parent
dab13af935
commit
a4baf571d9
3 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue