diff options
141 files changed, 368 insertions, 76 deletions
diff --git a/ext/arts/gst_arts.h b/ext/arts/gst_arts.h index 9ecdbaef..cf0ead06 100644 --- a/ext/arts/gst_arts.h +++ b/ext/arts/gst_arts.h @@ -24,7 +24,6 @@ #define __GST_ARTS_H__ -#include <config.h> #include <gst/gst.h> diff --git a/ext/arts/gst_artsio_impl.cc b/ext/arts/gst_artsio_impl.cc index 71cfea85..dff27eb1 100644 --- a/ext/arts/gst_artsio_impl.cc +++ b/ext/arts/gst_artsio_impl.cc @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <math.h> #include "artsflow.h" #include "stdsynthmodule.h" diff --git a/ext/audiofile/gstaf.c b/ext/audiofile/gstaf.c index 7014dad3..1d05ae3f 100644 --- a/ext/audiofile/gstaf.c +++ b/ext/audiofile/gstaf.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "gstafsrc.h" #include "gstafsink.h" diff --git a/ext/audiofile/gstafparse.h b/ext/audiofile/gstafparse.h index 29342fe4..0f636dcd 100644 --- a/ext/audiofile/gstafparse.h +++ b/ext/audiofile/gstafparse.h @@ -25,7 +25,6 @@ #define __GST_AFPARSE_H__ -#include <config.h> #include <gst/gst.h> #include <gst/bytestream/bytestream.h> #include <audiofile.h> /* what else are we to do */ diff --git a/ext/audiofile/gstafsink.h b/ext/audiofile/gstafsink.h index 3e8c868c..76ce30af 100644 --- a/ext/audiofile/gstafsink.h +++ b/ext/audiofile/gstafsink.h @@ -25,7 +25,6 @@ #define __GST_AFSINK_H__ -#include <config.h> #include <gst/gst.h> #include <audiofile.h> /* what else are we to do */ diff --git a/ext/audiofile/gstafsrc.h b/ext/audiofile/gstafsrc.h index 23e8669c..c96c20c3 100644 --- a/ext/audiofile/gstafsrc.h +++ b/ext/audiofile/gstafsrc.h @@ -25,7 +25,6 @@ #define __GST_AFSRC_H__ -#include <config.h> #include <gst/gst.h> #include <audiofile.h> /* what else are we to do */ diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 7ef30705..049691f4 100644 --- a/ext/divx/gstdivxdec.c +++ b/ext/divx/gstdivxdec.c @@ -18,9 +18,6 @@ */ #ifdef HAVE_CONFIG_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif #include "config.h" #endif diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c index 1384a888..b5a0458e 100644 --- a/ext/divx/gstdivxenc.c +++ b/ext/divx/gstdivxenc.c @@ -18,9 +18,6 @@ */ #ifdef HAVE_CONFIG_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif #include "config.h" #endif diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c index fcc72a01..c186ed1b 100644 --- a/ext/gsm/gstgsm.c +++ b/ext/gsm/gstgsm.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "gstgsmdec.h" #include "gstgsmenc.h" diff --git a/ext/gsm/gstgsmdec.h b/ext/gsm/gstgsmdec.h index d5839abd..0544128b 100644 --- a/ext/gsm/gstgsmdec.h +++ b/ext/gsm/gstgsmdec.h @@ -22,7 +22,6 @@ #define __GST_GSMDEC_H__ -#include <config.h> #include <gst/gst.h> #ifdef GSM_HEADER_IN_SUBDIR diff --git a/ext/gsm/gstgsmenc.h b/ext/gsm/gstgsmenc.h index 77f29757..2366ed69 100644 --- a/ext/gsm/gstgsmenc.h +++ b/ext/gsm/gstgsmenc.h @@ -22,7 +22,6 @@ #define __GST_GSMENC_H__ -#include <config.h> #include <gst/gst.h> #ifdef GSM_HEADER_IN_SUBDIR diff --git a/ext/hermes/gstcolorspace.h b/ext/hermes/gstcolorspace.h index 45371c72..ef8a8bfe 100644 --- a/ext/hermes/gstcolorspace.h +++ b/ext/hermes/gstcolorspace.h @@ -22,7 +22,6 @@ #define __GST_COLORSPACE_H__ -#include <config.h> #include <gst/gst.h> #include "yuv2rgb.h" diff --git a/ext/ivorbis/vorbisenc.h b/ext/ivorbis/vorbisenc.h index 7170baac..d31d8374 100644 --- a/ext/ivorbis/vorbisenc.h +++ b/ext/ivorbis/vorbisenc.h @@ -22,7 +22,6 @@ #define __VORBISENC_H__ -#include <config.h> #include <gst/gst.h> #include <tremor/codec.h> diff --git a/ext/jack/gstjackbin.c b/ext/jack/gstjackbin.c index 01713a70..cb1839c4 100644 --- a/ext/jack/gstjackbin.c +++ b/ext/jack/gstjackbin.c @@ -17,6 +17,10 @@ Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <string.h> #include <signal.h> diff --git a/ext/ladspa/gstladspa.h b/ext/ladspa/gstladspa.h index 89a039e9..b588ffa4 100644 --- a/ext/ladspa/gstladspa.h +++ b/ext/ladspa/gstladspa.h @@ -24,7 +24,6 @@ #define __GST_LADSPA_H__ -#include <config.h> #include <gst/gst.h> #include <gst/bytestream/bytestream.h> diff --git a/ext/ladspa/load.c b/ext/ladspa/load.c index c912106f..bf52eb1f 100644 --- a/ext/ladspa/load.c +++ b/ext/ladspa/load.c @@ -5,6 +5,10 @@ /*****************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <dlfcn.h> #include <stdio.h> #include <stdlib.h> diff --git a/ext/ladspa/search.c b/ext/ladspa/search.c index aac4381b..08b28d12 100644 --- a/ext/ladspa/search.c +++ b/ext/ladspa/search.c @@ -5,6 +5,10 @@ /*****************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <dirent.h> #include <dlfcn.h> #include <stdio.h> diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index f254e728..279e7951 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> diff --git a/ext/mplex/gstmplex.h b/ext/mplex/gstmplex.h index 98b19aca..20107252 100644 --- a/ext/mplex/gstmplex.h +++ b/ext/mplex/gstmplex.h @@ -22,7 +22,6 @@ #define __GST_MPLEX_H__ -#include <config.h> #include <stdlib.h> #include <gst/gst.h> diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index b66fabca..3b1b6dd6 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -22,7 +22,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include <config.h> + #include <signal.h> #include <string.h> #include <sys/time.h> diff --git a/ext/snapshot/gstsnapshot.h b/ext/snapshot/gstsnapshot.h index c391beb3..e86d1aba 100644 --- a/ext/snapshot/gstsnapshot.h +++ b/ext/snapshot/gstsnapshot.h @@ -22,7 +22,6 @@ #define __GST_SNAPSHOT_H__ -#include <config.h> #include <gst/gst.h> #include <png.h> diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c index a6d7c28d..af961a8c 100644 --- a/ext/sndfile/gstsf.c +++ b/ext/sndfile/gstsf.c @@ -21,10 +21,10 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif + #include <string.h> #include <gst/gst.h> -#include <config.h> #include <gst/audio/audio.h> #include "gstsf.h" diff --git a/ext/sndfile/gstsf.h b/ext/sndfile/gstsf.h index 3197effd..a2531112 100644 --- a/ext/sndfile/gstsf.h +++ b/ext/sndfile/gstsf.h @@ -22,7 +22,6 @@ #define __GST_SFSINK_H__ -#include <config.h> #include <gst/gst.h> #include <sndfile.h> diff --git a/ext/swfdec/gstswfdec.h b/ext/swfdec/gstswfdec.h index d3e6355e..8aa3ce3a 100644 --- a/ext/swfdec/gstswfdec.h +++ b/ext/swfdec/gstswfdec.h @@ -22,7 +22,6 @@ #define __GST_SWFDEC_H__ -#include <config.h> #include <gst/gst.h> #include <swfdec.h> diff --git a/ext/tarkin/gsttarkin.c b/ext/tarkin/gsttarkin.c index 8026bde5..e4619c66 100644 --- a/ext/tarkin/gsttarkin.c +++ b/ext/tarkin/gsttarkin.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "gsttarkinenc.h" #include "gsttarkindec.h" diff --git a/ext/tarkin/gsttarkindec.h b/ext/tarkin/gsttarkindec.h index 3fbac08d..b1baf4f3 100644 --- a/ext/tarkin/gsttarkindec.h +++ b/ext/tarkin/gsttarkindec.h @@ -22,7 +22,6 @@ #define __TARKINDEC_H__ -#include <config.h> #include <gst/gst.h> #include "tarkin.h" diff --git a/ext/tarkin/gsttarkinenc.h b/ext/tarkin/gsttarkinenc.h index 0a887842..b6252a88 100644 --- a/ext/tarkin/gsttarkinenc.h +++ b/ext/tarkin/gsttarkinenc.h @@ -22,7 +22,6 @@ #define __TARKINENC_H__ -#include <config.h> #include <gst/gst.h> #include "tarkin.h" diff --git a/ext/tarkin/info.c b/ext/tarkin/info.c index 7937a69f..60f02bd8 100644 --- a/ext/tarkin/info.c +++ b/ext/tarkin/info.c @@ -18,6 +18,10 @@ /* general handling of the header and the TarkinInfo structure (and substructures) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <string.h> #include <ctype.h> diff --git a/ext/tarkin/mem.c b/ext/tarkin/mem.c index c2cf18c0..2c304b7a 100644 --- a/ext/tarkin/mem.c +++ b/ext/tarkin/mem.c @@ -2,6 +2,9 @@ * Debugging implementation of MALLOC and friends */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "mem.h" diff --git a/ext/tarkin/tarkin.c b/ext/tarkin/tarkin.c index a9e24afc..163fa87c 100644 --- a/ext/tarkin/tarkin.c +++ b/ext/tarkin/tarkin.c @@ -3,6 +3,10 @@ * (this one has to be rewritten to write ogg streams ...) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "mem.h" #include "tarkin.h" #include "yuv.h" diff --git a/ext/tarkin/wavelet.c b/ext/tarkin/wavelet.c index a83aa499..9288e15b 100644 --- a/ext/tarkin/wavelet.c +++ b/ext/tarkin/wavelet.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "mem.h" #include "wavelet.h" diff --git a/ext/tarkin/wavelet_coeff.c b/ext/tarkin/wavelet_coeff.c index 63248676..581f48f0 100644 --- a/ext/tarkin/wavelet_coeff.c +++ b/ext/tarkin/wavelet_coeff.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "mem.h" #include "wavelet.h" #include "rle.h" diff --git a/ext/tarkin/wavelet_xform.c b/ext/tarkin/wavelet_xform.c index 768446a2..f052f003 100644 --- a/ext/tarkin/wavelet_xform.c +++ b/ext/tarkin/wavelet_xform.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "mem.h" #include <assert.h> #include "wavelet.h" diff --git a/ext/tarkin/yuv.c b/ext/tarkin/yuv.c index 6f5fb5c0..32c563f4 100644 --- a/ext/tarkin/yuv.c +++ b/ext/tarkin/yuv.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "yuv.h" /*#define TARKIN_YUV_EXACT*/ diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c index ad1b5133..3cfdfaa7 100644 --- a/ext/xvid/gstxviddec.c +++ b/ext/xvid/gstxviddec.c @@ -18,9 +18,6 @@ */ #ifdef HAVE_CONFIG_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif #include "config.h" #endif diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c index 00641f68..f526df5a 100644 --- a/ext/xvid/gstxvidenc.c +++ b/ext/xvid/gstxvidenc.c @@ -18,9 +18,6 @@ */ #ifdef HAVE_CONFIG_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif #include "config.h" #endif diff --git a/gst-libs/ext/mplex/buffer.cc b/gst-libs/ext/mplex/buffer.cc index 2b291802..24f5fd24 100644 --- a/gst-libs/ext/mplex/buffer.cc +++ b/gst-libs/ext/mplex/buffer.cc @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "buffer.hh" #include <stdlib.h> diff --git a/gst-libs/ext/mplex/padstrm.cc b/gst-libs/ext/mplex/padstrm.cc index 95e32dba..b60c6643 100644 --- a/gst-libs/ext/mplex/padstrm.cc +++ b/gst-libs/ext/mplex/padstrm.cc @@ -20,6 +20,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "padstrm.hh" diff --git a/gst-libs/ext/mplex/stillsstream.cc b/gst-libs/ext/mplex/stillsstream.cc index 1b6d10b3..6f9806f0 100644 --- a/gst-libs/ext/mplex/stillsstream.cc +++ b/gst-libs/ext/mplex/stillsstream.cc @@ -21,6 +21,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <format_codes.h> #include "stillsstream.hh" diff --git a/gst-libs/gst/audio/audioclock.c b/gst-libs/gst/audio/audioclock.c index 342009ff..feb06d50 100644 --- a/gst-libs/gst/audio/audioclock.c +++ b/gst-libs/gst/audio/audioclock.c @@ -20,6 +20,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "audioclock.h" static void gst_audio_clock_class_init (GstAudioClockClass *klass); diff --git a/gst-libs/gst/floatcast/floatcast.h b/gst-libs/gst/floatcast/floatcast.h index 3a232b76..0d5809f1 100644 --- a/gst-libs/gst/floatcast/floatcast.h +++ b/gst-libs/gst/floatcast/floatcast.h @@ -21,8 +21,6 @@ #ifndef __FLOATCAST_H__ #define __FLOATCAST_H__ -#include <config.h> - #if (HAVE_LRINT && HAVE_LRINTF) /* These defines enable functionality introduced with the 1999 ISO C diff --git a/gst-libs/gst/gconf/gconf.c b/gst-libs/gst/gconf/gconf.c index 8a1c5823..541a086b 100644 --- a/gst-libs/gst/gconf/gconf.c +++ b/gst-libs/gst/gconf/gconf.c @@ -21,6 +21,10 @@ * this library handles interaction with GConf */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "gconf.h" #define GST_GCONF_DIR "/system/gstreamer" diff --git a/gst-libs/gst/idct/dct.h b/gst-libs/gst/idct/dct.h index fcb7de37..efb3ddb3 100644 --- a/gst-libs/gst/idct/dct.h +++ b/gst-libs/gst/idct/dct.h @@ -1,7 +1,5 @@ /* define DCT types */ -#include "config.h" - /* * DCTSIZE underlying (1d) transform size * DCTSIZE2 DCTSIZE squared diff --git a/gst-libs/gst/idct/fastintidct.c b/gst-libs/gst/idct/fastintidct.c index 3c9e9bb9..27426672 100644 --- a/gst-libs/gst/idct/fastintidct.c +++ b/gst-libs/gst/idct/fastintidct.c @@ -38,6 +38,10 @@ /* compliance sE, 2.1.94 */ /**********************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /* this code assumes >> to be a two's-complement arithmetic */ /* right shift: (-2)>>1 == -1 , (-3)>>1 == -2 */ diff --git a/gst-libs/gst/idct/floatidct.c b/gst-libs/gst/idct/floatidct.c index 520c3913..b215bd78 100644 --- a/gst-libs/gst/idct/floatidct.c +++ b/gst-libs/gst/idct/floatidct.c @@ -35,6 +35,10 @@ /* Here we use math.h to generate constants. Compiler results may vary a little */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <math.h> #ifndef PI diff --git a/gst-libs/gst/idct/ieeetest.c b/gst-libs/gst/idct/ieeetest.c index c3c66215..f5b270eb 100644 --- a/gst-libs/gst/idct/ieeetest.c +++ b/gst-libs/gst/idct/ieeetest.c @@ -9,6 +9,10 @@ * Released to public domain 11/22/93. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <stdlib.h> diff --git a/gst-libs/gst/idct/intidct.c b/gst-libs/gst/idct/intidct.c index 119b7fd1..e08e6adb 100644 --- a/gst-libs/gst/idct/intidct.c +++ b/gst-libs/gst/idct/intidct.c @@ -18,6 +18,10 @@ * scaled fixed-point arithmetic, with a minimal number of shifts. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "dct.h" /* We assume that right shift corresponds to signed division by 2 with diff --git a/gst-libs/gst/idct/mmx32idct.c b/gst-libs/gst/idct/mmx32idct.c index 0090d8a7..3b640976 100644 --- a/gst-libs/gst/idct/mmx32idct.c +++ b/gst-libs/gst/idct/mmx32idct.c @@ -114,7 +114,11 @@ /*
mword typedef qword
qword ptr equ mword ptr */
-
+ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <mmx.h>
#define BITS_INV_ACC 4 /*; 4 or 5 for IEEE
*/ diff --git a/gst-libs/gst/media-info/media-info-priv.c b/gst-libs/gst/media-info/media-info-priv.c index b9237137..77981598 100644 --- a/gst-libs/gst/media-info/media-info-priv.c +++ b/gst-libs/gst/media-info/media-info-priv.c @@ -19,6 +19,10 @@ /* media-info-priv.c - handling of internal stuff */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gst/gst.h> #include <string.h> #include "media-info.h" diff --git a/gst-libs/gst/media-info/media-info.c b/gst-libs/gst/media-info/media-info.c index b559463d..92957e16 100644 --- a/gst-libs/gst/media-info/media-info.c +++ b/gst-libs/gst/media-info/media-info.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gst/gst.h> #include <string.h> #include "media-info.h" diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c index 486262e5..64963661 100644 --- a/gst-libs/gst/play/play.old.c +++ b/gst-libs/gst/play/play.old.c @@ -22,6 +22,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "play.h" enum diff --git a/gst-libs/gst/resample/dtof.c b/gst-libs/gst/resample/dtof.c index c392e676..7650453a 100644 --- a/gst-libs/gst/resample/dtof.c +++ b/gst-libs/gst/resample/dtof.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <math.h> diff --git a/gst-libs/gst/resample/functable.c b/gst-libs/gst/resample/functable.c index 94dbec15..75b81f36 100644 --- a/gst-libs/gst/resample/functable.c +++ b/gst-libs/gst/resample/functable.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <math.h> diff --git a/gst-libs/gst/resample/private.h b/gst-libs/gst/resample/private.h index fb8ba87f..476e611e 100644 --- a/gst-libs/gst/resample/private.h +++ b/gst-libs/gst/resample/private.h @@ -22,7 +22,6 @@ #define __PRIVATE_H__ #include "resample.h" -#include "config.h" void resample_nearest_s16(resample_t *r); void resample_bilinear_s16(resample_t *r); diff --git a/gst-libs/gst/resample/resample.c b/gst-libs/gst/resample/resample.c index b298e86d..52a80e61 100644 --- a/gst-libs/gst/resample/resample.c +++ b/gst-libs/gst/resample/resample.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <string.h> #include <math.h> diff --git a/gst-libs/gst/riff/riffencode.c b/gst-libs/gst/riff/riffencode.c index a22b1849..630725d5 100644 --- a/gst-libs/gst/riff/riffencode.c +++ b/gst-libs/gst/riff/riffencode.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> /*#define DEBUG_ENABLED */ diff --git a/gst-libs/gst/riff/riffparse.c b/gst-libs/gst/riff/riffparse.c index 72a7820b..72c9e4bb 100644 --- a/gst-libs/gst/riff/riffparse.c +++ b/gst-libs/gst/riff/riffparse.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> /*#define DEBUG_ENABLED */ diff --git a/gst-libs/gst/riff/riffutil.c b/gst-libs/gst/riff/riffutil.c index 612bdbaf..d33aefe3 100644 --- a/gst-libs/gst/riff/riffutil.c +++ b/gst-libs/gst/riff/riffutil.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <riff.h> diff --git a/gst/cdxaparse/gstcdxaparse.h b/gst/cdxaparse/gstcdxaparse.h index fcf77107..32af5527 100644 --- a/gst/cdxaparse/gstcdxaparse.h +++ b/gst/cdxaparse/gstcdxaparse.h @@ -22,7 +22,6 @@ #ifndef __GST_CDXA_PARSE_H__ #define __GST_CDXA_PARSE_H__ -#include <config.h> #include <gst/gst.h> #include <gst/bytestream/bytestream.h> diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index b7b1de95..f100d96a 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include <config.h> + #include <gst/gst.h> #include <gst/video/video.h> diff --git a/gst/deinterlace/gstdeinterlace.h b/gst/deinterlace/gstdeinterlace.h index 131b5bff..45eda04a 100644 --- a/gst/deinterlace/gstdeinterlace.h +++ b/gst/deinterlace/gstdeinterlace.h @@ -22,7 +22,6 @@ #define __GST_DEINTERLACE_H__ -#include <config.h> #include <gst/gst.h> /* #include <gst/meta/audioraw.h> */ diff --git a/gst/festival/gstfestival.h b/gst/festival/gstfestival.h index f1e382ef..ab463106 100644 --- a/gst/festival/gstfestival.h +++ b/gst/festival/gstfestival.h @@ -61,7 +61,6 @@ #define __GST_FESTIVAL_H__ -#include <config.h> #include <gst/gst.h> #ifdef __cplusplus diff --git a/gst/filter/iir.c b/gst/filter/iir.c index 1ef31540..13e2e937 100644 --- a/gst/filter/iir.c +++ b/gst/filter/iir.c @@ -19,6 +19,10 @@ /* LPC is actually a degenerate case of form I/II filters, but we need both */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <string.h> #include <math.h> diff --git a/gst/flx/flx_color.c b/gst/flx/flx_color.c index 8a84d2b0..b64c90c4 100644 --- a/gst/flx/flx_color.c +++ b/gst/flx/flx_color.c @@ -17,10 +17,13 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <gst/gst.h> - #include "flx_color.h" FlxColorSpaceConverter * diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index 34e6176b..9cc2a416 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include <config.h> + #include <gst/gst.h> #include <gst/bytestream/bytestream.h> #include <gst/audio/audio.h> diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index 37b6c648..4ac6bc4e 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -25,6 +25,10 @@ Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "libmodplug/stdafx.h" #include "libmodplug/sndfile.h" diff --git a/gst/modplug/gstmodplug.h b/gst/modplug/gstmodplug.h index 2b5994c2..d6202e69 100644 --- a/gst/modplug/gstmodplug.h +++ b/gst/modplug/gstmodplug.h @@ -21,8 +21,6 @@ #ifndef __GST_MODPLUG_H__ #define __GST_MODPLUG_H__ -#include <config.h> - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ diff --git a/gst/modplug/libmodplug/fastmix.cpp b/gst/modplug/libmodplug/fastmix.cpp index 0ee94bd0..910ef549 100644 --- a/gst/modplug/libmodplug/fastmix.cpp +++ b/gst/modplug/libmodplug/fastmix.cpp @@ -5,6 +5,10 @@ * Markus Fick <webmaster@mark-f.de> spline + fir-resampler */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" #include <math.h> diff --git a/gst/modplug/libmodplug/load_669.cpp b/gst/modplug/libmodplug/load_669.cpp index a0dbfabd..2d361a79 100644 --- a/gst/modplug/libmodplug/load_669.cpp +++ b/gst/modplug/libmodplug/load_669.cpp @@ -9,6 +9,10 @@ // 669 Composer / UNIS 669 module loader //////////////////////////////////////////////////////////// +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_amf.cpp b/gst/modplug/libmodplug/load_amf.cpp index a7578711..37a34185 100644 --- a/gst/modplug/libmodplug/load_amf.cpp +++ b/gst/modplug/libmodplug/load_amf.cpp @@ -13,6 +13,11 @@ // - Advanced Music Format(DSM) // /////////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_ams.cpp b/gst/modplug/libmodplug/load_ams.cpp index 05d219b7..6d53f5a4 100644 --- a/gst/modplug/libmodplug/load_ams.cpp +++ b/gst/modplug/libmodplug/load_ams.cpp @@ -7,6 +7,11 @@ ////////////////////////////////////////////// // AMS module loader // ////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_dbm.cpp b/gst/modplug/libmodplug/load_dbm.cpp index df46cc64..95cf6375 100644 --- a/gst/modplug/libmodplug/load_dbm.cpp +++ b/gst/modplug/libmodplug/load_dbm.cpp @@ -13,6 +13,10 @@ // /////////////////////////////////////////////////////////////// +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_dmf.cpp b/gst/modplug/libmodplug/load_dmf.cpp index f8b803b6..f49e65a2 100644 --- a/gst/modplug/libmodplug/load_dmf.cpp +++ b/gst/modplug/libmodplug/load_dmf.cpp @@ -7,6 +7,11 @@ /////////////////////////////////////////////////////// // DMF DELUSION DIGITAL MUSIC FILEFORMAT (X-Tracker) // /////////////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_dsm.cpp b/gst/modplug/libmodplug/load_dsm.cpp index 4f51469f..d84817ee 100644 --- a/gst/modplug/libmodplug/load_dsm.cpp +++ b/gst/modplug/libmodplug/load_dsm.cpp @@ -7,6 +7,11 @@ ////////////////////////////////////////////// // DSIK Internal Format (DSM) module loader // ////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_far.cpp b/gst/modplug/libmodplug/load_far.cpp index 33004503..5c7ab4c0 100644 --- a/gst/modplug/libmodplug/load_far.cpp +++ b/gst/modplug/libmodplug/load_far.cpp @@ -7,6 +7,11 @@ //////////////////////////////////////// // Farandole (FAR) module loader // //////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_it.cpp b/gst/modplug/libmodplug/load_it.cpp index 1764759a..29ea0d24 100644 --- a/gst/modplug/libmodplug/load_it.cpp +++ b/gst/modplug/libmodplug/load_it.cpp @@ -5,6 +5,10 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" #include "it_defs.h" diff --git a/gst/modplug/libmodplug/load_j2b.cpp b/gst/modplug/libmodplug/load_j2b.cpp index 2d86ce82..5da56979 100644 --- a/gst/modplug/libmodplug/load_j2b.cpp +++ b/gst/modplug/libmodplug/load_j2b.cpp @@ -10,6 +10,11 @@ // J2B module loader // /////////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_mdl.cpp b/gst/modplug/libmodplug/load_mdl.cpp index 68572b5c..20cb176d 100644 --- a/gst/modplug/libmodplug/load_mdl.cpp +++ b/gst/modplug/libmodplug/load_mdl.cpp @@ -7,6 +7,11 @@ ////////////////////////////////////////////// // DigiTracker (MDL) module loader // ////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_med.cpp b/gst/modplug/libmodplug/load_med.cpp index 3f7e8280..76eafe51 100644 --- a/gst/modplug/libmodplug/load_med.cpp +++ b/gst/modplug/libmodplug/load_med.cpp @@ -5,6 +5,10 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_mod.cpp b/gst/modplug/libmodplug/load_mod.cpp index 3e48739d..61f2d066 100644 --- a/gst/modplug/libmodplug/load_mod.cpp +++ b/gst/modplug/libmodplug/load_mod.cpp @@ -5,6 +5,10 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_mt2.cpp b/gst/modplug/libmodplug/load_mt2.cpp index 563839f1..eaee2007 100644 --- a/gst/modplug/libmodplug/load_mt2.cpp +++ b/gst/modplug/libmodplug/load_mt2.cpp @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_mtm.cpp b/gst/modplug/libmodplug/load_mtm.cpp index 06737687..534cda20 100644 --- a/gst/modplug/libmodplug/load_mtm.cpp +++ b/gst/modplug/libmodplug/load_mtm.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_okt.cpp b/gst/modplug/libmodplug/load_okt.cpp index 4c4e08a1..7b4dd370 100644 --- a/gst/modplug/libmodplug/load_okt.cpp +++ b/gst/modplug/libmodplug/load_okt.cpp @@ -8,6 +8,11 @@ ////////////////////////////////////////////// // Oktalyzer (OKT) module loader // ////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_psm.cpp b/gst/modplug/libmodplug/load_psm.cpp index 19966a68..b56d7755 100644 --- a/gst/modplug/libmodplug/load_psm.cpp +++ b/gst/modplug/libmodplug/load_psm.cpp @@ -10,6 +10,11 @@ // PSM module loader // /////////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_ptm.cpp b/gst/modplug/libmodplug/load_ptm.cpp index 28039153..8a4d7ac6 100644 --- a/gst/modplug/libmodplug/load_ptm.cpp +++ b/gst/modplug/libmodplug/load_ptm.cpp @@ -8,6 +8,11 @@ ////////////////////////////////////////////// // PTM PolyTracker module loader // ////////////////////////////////////////////// + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_s3m.cpp b/gst/modplug/libmodplug/load_s3m.cpp index f4dead4b..bb3a5aaa 100644 --- a/gst/modplug/libmodplug/load_s3m.cpp +++ b/gst/modplug/libmodplug/load_s3m.cpp @@ -5,6 +5,10 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_stm.cpp b/gst/modplug/libmodplug/load_stm.cpp index 10e3d555..4ddf64ba 100644 --- a/gst/modplug/libmodplug/load_stm.cpp +++ b/gst/modplug/libmodplug/load_stm.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_ult.cpp b/gst/modplug/libmodplug/load_ult.cpp index 91e1b304..a676ebe6 100644 --- a/gst/modplug/libmodplug/load_ult.cpp +++ b/gst/modplug/libmodplug/load_ult.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_umx.cpp b/gst/modplug/libmodplug/load_umx.cpp index 8913c740..8c2deef7 100644 --- a/gst/modplug/libmodplug/load_umx.cpp +++ b/gst/modplug/libmodplug/load_umx.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_wav.cpp b/gst/modplug/libmodplug/load_wav.cpp index 3bcd1328..6eaf91e6 100644 --- a/gst/modplug/libmodplug/load_wav.cpp +++ b/gst/modplug/libmodplug/load_wav.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/load_xm.cpp b/gst/modplug/libmodplug/load_xm.cpp index 8bc8939e..d63de118 100644 --- a/gst/modplug/libmodplug/load_xm.cpp +++ b/gst/modplug/libmodplug/load_xm.cpp @@ -5,6 +5,10 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/mmcmp.cpp b/gst/modplug/libmodplug/mmcmp.cpp index 200ee3b9..333ebbcc 100644 --- a/gst/modplug/libmodplug/mmcmp.cpp +++ b/gst/modplug/libmodplug/mmcmp.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/modplug.cpp b/gst/modplug/libmodplug/modplug.cpp index aea7d24c..5e07c881 100644 --- a/gst/modplug/libmodplug/modplug.cpp +++ b/gst/modplug/libmodplug/modplug.cpp @@ -4,6 +4,10 @@ * Authors: Kenton Varda <temporal@gauge3d.org> (C interface wrapper) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "modplug.h" #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/snd_dsp.cpp b/gst/modplug/libmodplug/snd_dsp.cpp index 0c2f643d..54a06360 100644 --- a/gst/modplug/libmodplug/snd_dsp.cpp +++ b/gst/modplug/libmodplug/snd_dsp.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/snd_flt.cpp b/gst/modplug/libmodplug/snd_flt.cpp index bcae2020..00506d4a 100644 --- a/gst/modplug/libmodplug/snd_flt.cpp +++ b/gst/modplug/libmodplug/snd_flt.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/snd_fx.cpp b/gst/modplug/libmodplug/snd_fx.cpp index 78722d5a..da4cb146 100644 --- a/gst/modplug/libmodplug/snd_fx.cpp +++ b/gst/modplug/libmodplug/snd_fx.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/sndfile.cpp b/gst/modplug/libmodplug/sndfile.cpp index 7e31062b..b65a1134 100644 --- a/gst/modplug/libmodplug/sndfile.cpp +++ b/gst/modplug/libmodplug/sndfile.cpp @@ -5,6 +5,10 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <math.h> //for GCCFIX #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/sndfile.h b/gst/modplug/libmodplug/sndfile.h index b322f636..0fe6f459 100644 --- a/gst/modplug/libmodplug/sndfile.h +++ b/gst/modplug/libmodplug/sndfile.h @@ -5,10 +5,6 @@ * Adam Goode <adam@evdebs.org> (endian and char fixes for PPC) */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #ifndef __SNDFILE_H #define __SNDFILE_H diff --git a/gst/modplug/libmodplug/sndmix.cpp b/gst/modplug/libmodplug/sndmix.cpp index 4fd2955b..e5090943 100644 --- a/gst/modplug/libmodplug/sndmix.cpp +++ b/gst/modplug/libmodplug/sndmix.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/tables.cpp b/gst/modplug/libmodplug/tables.cpp index 02b7d4af..2208cd08 100644 --- a/gst/modplug/libmodplug/tables.cpp +++ b/gst/modplug/libmodplug/tables.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque <olivierl@jps.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" diff --git a/gst/mpeg1sys/buffer.c b/gst/mpeg1sys/buffer.c index 53104a31..0d029529 100644 --- a/gst/mpeg1sys/buffer.c +++ b/gst/mpeg1sys/buffer.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <gst/gst.h> diff --git a/gst/mpeg1sys/gstmpeg1systemencode.h b/gst/mpeg1sys/gstmpeg1systemencode.h index 7c26063a..44555332 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.h +++ b/gst/mpeg1sys/gstmpeg1systemencode.h @@ -22,7 +22,6 @@ #define __SYSTEM_ENCODE_H__ -#include <config.h> #include <gst/gst.h> #include <gst/getbits/getbits.h> diff --git a/gst/mpeg1sys/systems.c b/gst/mpeg1sys/systems.c index d0b3388a..aa6de41a 100644 --- a/gst/mpeg1sys/systems.c +++ b/gst/mpeg1sys/systems.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include "main.h" diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index f34db3f3..0928c5e0 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.c +++ b/gst/mpeg1videoparse/gstmp1videoparse.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + /*#define GST_DEBUG_ENABLED */ #include "gstmp1videoparse.h" diff --git a/gst/mpeg1videoparse/gstmp1videoparse.h b/gst/mpeg1videoparse/gstmp1videoparse.h index 5d06738c..b8b4f016 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.h +++ b/gst/mpeg1videoparse/gstmp1videoparse.h @@ -22,7 +22,6 @@ #define __MP1VIDEOPARSE_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/mpeg2sub/gstmpeg2subt.h b/gst/mpeg2sub/gstmpeg2subt.h index aed08e73..29f60b27 100644 --- a/gst/mpeg2sub/gstmpeg2subt.h +++ b/gst/mpeg2sub/gstmpeg2subt.h @@ -22,7 +22,6 @@ #define __GST_MPEG2SUBT_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/mpegaudioparse/gstmpegaudioparse.h b/gst/mpegaudioparse/gstmpegaudioparse.h index 7d1edc95..ce8121a0 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.h +++ b/gst/mpegaudioparse/gstmpegaudioparse.h @@ -22,7 +22,6 @@ #define __MP3PARSE_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/passthrough/gstpassthrough.h b/gst/passthrough/gstpassthrough.h index bcd09f9a..fd4c2445 100644 --- a/gst/passthrough/gstpassthrough.h +++ b/gst/passthrough/gstpassthrough.h @@ -23,7 +23,6 @@ #define __GST_PASSTHROUGH_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/playondemand/gstplayondemand.h b/gst/playondemand/gstplayondemand.h index 20e9359e..b73b5c2a 100644 --- a/gst/playondemand/gstplayondemand.h +++ b/gst/playondemand/gstplayondemand.h @@ -23,7 +23,6 @@ #define __GST_PLAYONDEMAND_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/rtjpeg/RTjpeg.h b/gst/rtjpeg/RTjpeg.h index 90e2a8d5..92b35242 100644 --- a/gst/rtjpeg/RTjpeg.h +++ b/gst/rtjpeg/RTjpeg.h @@ -21,7 +21,6 @@ This file is a modified version of RTjpeg 0.1.2, (C) Justin Schoeman 1998 */ -#include <config.h> #include <inttypes.h> typedef uint8_t __u8; diff --git a/gst/rtjpeg/gstrtjpeg.c b/gst/rtjpeg/gstrtjpeg.c index 68e113b4..e5154291 100644 --- a/gst/rtjpeg/gstrtjpeg.c +++ b/gst/rtjpeg/gstrtjpeg.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <gstrtjpegenc.h> #include <gstrtjpegdec.h> diff --git a/gst/rtjpeg/gstrtjpegdec.h b/gst/rtjpeg/gstrtjpegdec.h index 40b16fe0..2214ebd8 100644 --- a/gst/rtjpeg/gstrtjpegdec.h +++ b/gst/rtjpeg/gstrtjpegdec.h @@ -22,7 +22,6 @@ #define __RTJPEGDEC_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/rtjpeg/gstrtjpegenc.h b/gst/rtjpeg/gstrtjpegenc.h index 57a6f588..61303b7b 100644 --- a/gst/rtjpeg/gstrtjpegenc.h +++ b/gst/rtjpeg/gstrtjpegenc.h @@ -22,7 +22,6 @@ #define __RTJPEGENC_H__ -#include <config.h> #include <gst/gst.h> #include "RTjpeg.h" diff --git a/gst/smooth/gstsmooth.h b/gst/smooth/gstsmooth.h index efab70e0..eb32de36 100644 --- a/gst/smooth/gstsmooth.h +++ b/gst/smooth/gstsmooth.h @@ -22,10 +22,8 @@ #define __GST_SMOOTH_H__ -#include <config.h> #include <gst/gst.h> - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ diff --git a/gst/smpte/barboxwipes.c b/gst/smpte/barboxwipes.c index e1cab9d0..a490f632 100644 --- a/gst/smpte/barboxwipes.c +++ b/gst/smpte/barboxwipes.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "paint.h" #include "gstmask.h" diff --git a/gst/smpte/gstmask.c b/gst/smpte/gstmask.c index 6430f420..13c79b34 100644 --- a/gst/smpte/gstmask.c +++ b/gst/smpte/gstmask.c @@ -17,6 +17,9 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "gstmask.h" #include "paint.h" diff --git a/gst/smpte/paint.c b/gst/smpte/paint.c index e912dfdf..dae3c6f1 100644 --- a/gst/smpte/paint.c +++ b/gst/smpte/paint.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <math.h> #include <stdlib.h> #include "paint.h" diff --git a/gst/spectrum/fix_fft.c b/gst/spectrum/fix_fft.c index c48fbd90..a5dd658f 100644 --- a/gst/spectrum/fix_fft.c +++ b/gst/spectrum/fix_fft.c @@ -47,6 +47,10 @@ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #define fixed short /* FIX_MPY() - fixed-point multiplication macro. diff --git a/gst/speed/gstspeed.h b/gst/speed/gstspeed.h index 51258303..103ecdb8 100644 --- a/gst/speed/gstspeed.h +++ b/gst/speed/gstspeed.h @@ -22,10 +22,6 @@ #ifndef __GST_SPEED_H__ #define __GST_SPEED_H__ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <gst/gst.h> G_BEGIN_DECLS diff --git a/gst/stereo/gststereo.h b/gst/stereo/gststereo.h index 238ec1a8..8b78f25e 100644 --- a/gst/stereo/gststereo.h +++ b/gst/stereo/gststereo.h @@ -22,7 +22,6 @@ #define __GST_STEREO_H__ -#include <config.h> #include <gst/gst.h> diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c index 1655623d..f84533db 100644 --- a/gst/vbidec/gstvbidec.c +++ b/gst/vbidec/gstvbidec.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include <config.h> + #include <string.h> #include <inttypes.h> #include <ctype.h> diff --git a/gst/vbidec/vbidata.c b/gst/vbidec/vbidata.c index b0bd7a1c..fc0af5fa 100644 --- a/gst/vbidec/vbidata.c +++ b/gst/vbidec/vbidata.c @@ -26,6 +26,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <sys/types.h> diff --git a/gst/vbidec/vbiscreen.c b/gst/vbidec/vbiscreen.c index df347aca..189591f1 100644 --- a/gst/vbidec/vbiscreen.c +++ b/gst/vbidec/vbiscreen.c @@ -20,6 +20,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <stdarg.h> diff --git a/gst/videodrop/gstvideodrop.h b/gst/videodrop/gstvideodrop.h index 8b447e30..f5209842 100644 --- a/gst/videodrop/gstvideodrop.h +++ b/gst/videodrop/gstvideodrop.h @@ -20,7 +20,6 @@ #ifndef __GST_VIDEODROP_H__ #define __GST_VIDEODROP_H__ -#include <config.h> #include <gst/gst.h> G_BEGIN_DECLS diff --git a/gst/virtualdub/gstvirtualdub.c b/gst/virtualdub/gstvirtualdub.c index 99122bcc..c6091233 100644 --- a/gst/virtualdub/gstvirtualdub.c +++ b/gst/virtualdub/gstvirtualdub.c @@ -16,6 +16,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <gst/gst.h> #include "gstvirtualdub.h" diff --git a/gst/y4m/gsty4mencode.h b/gst/y4m/gsty4mencode.h index a42ad727..07d369cc 100644 --- a/gst/y4m/gsty4mencode.h +++ b/gst/y4m/gsty4mencode.h @@ -22,7 +22,6 @@ #define __GST_Y4MENCODE_H__ -#include <config.h> #include <gst/gst.h> /* #include <gst/meta/audioraw.h> */ diff --git a/sys/cdrom/gstcdplayer.h b/sys/cdrom/gstcdplayer.h index 39aaaf43..7c6c4bf9 100644 --- a/sys/cdrom/gstcdplayer.h +++ b/sys/cdrom/gstcdplayer.h @@ -20,10 +20,6 @@ #ifndef __CDPLAYER_H__ #define __CDPLAYER_H__ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <gst/gst.h> diff --git a/sys/cdrom/gstcdplayer_ioctl.c b/sys/cdrom/gstcdplayer_ioctl.c index f137d953..22ef22be 100644 --- a/sys/cdrom/gstcdplayer_ioctl.c +++ b/sys/cdrom/gstcdplayer_ioctl.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "gstcdplayer_ioctl.h" #include <sys/types.h> diff --git a/sys/cdrom/gstcdplayer_ioctl.h b/sys/cdrom/gstcdplayer_ioctl.h index 986d1b2d..65bc2c66 100644 --- a/sys/cdrom/gstcdplayer_ioctl.h +++ b/sys/cdrom/gstcdplayer_ioctl.h @@ -20,10 +20,6 @@ #ifndef __CDPLAYER_LL_H__ #define __CDPLAYER_LL_H__ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #define LEADOUT 0 diff --git a/sys/dxr3/ac3_padder.c b/sys/dxr3/ac3_padder.c index f6ff270b..bee59895 100644 --- a/sys/dxr3/ac3_padder.c +++ b/sys/dxr3/ac3_padder.c @@ -19,6 +19,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> 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" diff --git a/sys/qcam/dark.c b/sys/qcam/dark.c index 15dbbb4e..70acf979 100644 --- a/sys/qcam/dark.c +++ b/sys/qcam/dark.c @@ -38,6 +38,10 @@ OTHER DEALINGS IN THE SOFTWARE. establishing shots need only be done once per camera. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <assert.h> diff --git a/sys/qcam/exposure.c b/sys/qcam/exposure.c index 66574f32..b393bdb7 100644 --- a/sys/qcam/exposure.c +++ b/sys/qcam/exposure.c @@ -36,6 +36,10 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include "qcam.h" #include "qcamip.h" diff --git a/sys/qcam/gstqcamsrc.h b/sys/qcam/gstqcamsrc.h index de884d4d..0bd201c8 100644 --- a/sys/qcam/gstqcamsrc.h +++ b/sys/qcam/gstqcamsrc.h @@ -22,7 +22,6 @@ #define __GST_QCAMSRC_H__ -#include <config.h> #include <gst/gst.h> #ifdef __cplusplus diff --git a/sys/qcam/qcam-Linux.c b/sys/qcam/qcam-Linux.c index f6383e01..e73933d9 100644 --- a/sys/qcam/qcam-Linux.c +++ b/sys/qcam/qcam-Linux.c @@ -29,6 +29,9 @@ OTHER DEALINGS IN THE SOFTWARE. ******************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <stdio.h> #include <unistd.h> diff --git a/sys/qcam/qcam-lib.c b/sys/qcam/qcam-lib.c index f3b49fb0..cacd5d08 100644 --- a/sys/qcam/qcam-lib.c +++ b/sys/qcam/qcam-lib.c @@ -33,6 +33,10 @@ OTHER DEALINGS IN THE SOFTWARE. ******************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sys/qcam/qcam-os.c b/sys/qcam/qcam-os.c index f6383e01..e73933d9 100644 --- a/sys/qcam/qcam-os.c +++ b/sys/qcam/qcam-os.c @@ -29,6 +29,9 @@ OTHER DEALINGS IN THE SOFTWARE. ******************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include <stdio.h> #include <unistd.h> diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c index 521196cf..576b0c0b 100644 --- a/sys/v4l2/v4l2src_calls.c +++ b/sys/v4l2/v4l2src_calls.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/sys/vcd/vcdsrc.h b/sys/vcd/vcdsrc.h index a5ab43c0..ab2c74da 100644 --- a/sys/vcd/vcdsrc.h +++ b/sys/vcd/vcdsrc.h @@ -22,7 +22,6 @@ #define __VCDSRC_H__ -#include <config.h> #include <gst/gst.h> #include <linux/cdrom.h> |