From cb90622b41d826e7e316ce1e3c16e5a5c9d028ef Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 7 Nov 2003 12:47:02 +0000 Subject: [PATCH] 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 --- ext/arts/gst_arts.h | 1 - ext/arts/gst_artsio_impl.cc | 4 ++++ ext/audiofile/gstaf.c | 3 +++ ext/audiofile/gstafparse.h | 1 - ext/audiofile/gstafsink.h | 1 - ext/audiofile/gstafsrc.h | 1 - ext/divx/gstdivxdec.c | 3 --- ext/divx/gstdivxenc.c | 3 --- ext/gsm/gstgsm.c | 3 +++ ext/gsm/gstgsmdec.h | 1 - ext/gsm/gstgsmenc.h | 1 - ext/hermes/gstcolorspace.h | 1 - ext/ivorbis/vorbisenc.h | 1 - ext/jack/gstjackbin.c | 4 ++++ ext/ladspa/gstladspa.h | 1 - ext/ladspa/load.c | 4 ++++ ext/ladspa/search.c | 4 ++++ ext/mplex/gstmplex.cc | 3 +++ ext/mplex/gstmplex.h | 1 - ext/sdl/sdlvideosink.c | 2 +- ext/snapshot/gstsnapshot.h | 1 - ext/sndfile/gstsf.c | 2 +- ext/sndfile/gstsf.h | 1 - ext/swfdec/gstswfdec.h | 1 - ext/tarkin/gsttarkin.c | 3 +++ ext/tarkin/gsttarkindec.h | 1 - ext/tarkin/gsttarkinenc.h | 1 - ext/tarkin/info.c | 4 ++++ ext/tarkin/mem.c | 3 +++ ext/tarkin/tarkin.c | 4 ++++ ext/tarkin/wavelet.c | 4 ++++ ext/tarkin/wavelet_coeff.c | 4 ++++ ext/tarkin/wavelet_xform.c | 4 ++++ ext/tarkin/yuv.c | 4 ++++ ext/xvid/gstxviddec.c | 3 --- ext/xvid/gstxvidenc.c | 3 --- gst-libs/ext/mplex/buffer.cc | 4 ++++ gst-libs/ext/mplex/padstrm.cc | 4 ++++ gst-libs/ext/mplex/stillsstream.cc | 4 ++++ gst-libs/gst/audio/audioclock.c | 4 ++++ gst-libs/gst/floatcast/floatcast.h | 2 -- gst-libs/gst/gconf/gconf.c | 4 ++++ gst-libs/gst/idct/dct.h | 2 -- gst-libs/gst/idct/fastintidct.c | 4 ++++ gst-libs/gst/idct/floatidct.c | 4 ++++ gst-libs/gst/idct/ieeetest.c | 4 ++++ gst-libs/gst/idct/intidct.c | 4 ++++ gst-libs/gst/idct/mmx32idct.c | 6 +++++- gst-libs/gst/media-info/media-info-priv.c | 4 ++++ gst-libs/gst/media-info/media-info.c | 4 ++++ gst-libs/gst/play/play.old.c | 4 ++++ gst-libs/gst/resample/dtof.c | 3 +++ gst-libs/gst/resample/functable.c | 3 +++ gst-libs/gst/resample/private.h | 1 - gst-libs/gst/resample/resample.c | 3 +++ gst-libs/gst/riff/riffencode.c | 4 ++++ gst-libs/gst/riff/riffparse.c | 4 ++++ gst-libs/gst/riff/riffutil.c | 3 +++ gst/cdxaparse/gstcdxaparse.h | 1 - gst/chart/gstchart.c | 2 +- gst/deinterlace/gstdeinterlace.h | 1 - gst/festival/gstfestival.h | 1 - gst/filter/iir.c | 4 ++++ gst/flx/flx_color.c | 5 ++++- gst/mixmatrix/mixmatrix.c | 2 +- gst/modplug/gstmodplug.cc | 4 ++++ gst/modplug/gstmodplug.h | 2 -- gst/modplug/libmodplug/fastmix.cpp | 4 ++++ gst/modplug/libmodplug/load_669.cpp | 4 ++++ gst/modplug/libmodplug/load_amf.cpp | 5 +++++ gst/modplug/libmodplug/load_ams.cpp | 5 +++++ gst/modplug/libmodplug/load_dbm.cpp | 4 ++++ gst/modplug/libmodplug/load_dmf.cpp | 5 +++++ gst/modplug/libmodplug/load_dsm.cpp | 5 +++++ gst/modplug/libmodplug/load_far.cpp | 5 +++++ gst/modplug/libmodplug/load_it.cpp | 4 ++++ gst/modplug/libmodplug/load_j2b.cpp | 5 +++++ gst/modplug/libmodplug/load_mdl.cpp | 5 +++++ gst/modplug/libmodplug/load_med.cpp | 4 ++++ gst/modplug/libmodplug/load_mod.cpp | 4 ++++ gst/modplug/libmodplug/load_mt2.cpp | 4 ++++ gst/modplug/libmodplug/load_mtm.cpp | 4 ++++ gst/modplug/libmodplug/load_okt.cpp | 5 +++++ gst/modplug/libmodplug/load_psm.cpp | 5 +++++ gst/modplug/libmodplug/load_ptm.cpp | 5 +++++ gst/modplug/libmodplug/load_s3m.cpp | 4 ++++ gst/modplug/libmodplug/load_stm.cpp | 4 ++++ gst/modplug/libmodplug/load_ult.cpp | 4 ++++ gst/modplug/libmodplug/load_umx.cpp | 4 ++++ gst/modplug/libmodplug/load_wav.cpp | 4 ++++ gst/modplug/libmodplug/load_xm.cpp | 4 ++++ gst/modplug/libmodplug/mmcmp.cpp | 4 ++++ gst/modplug/libmodplug/modplug.cpp | 4 ++++ gst/modplug/libmodplug/snd_dsp.cpp | 4 ++++ gst/modplug/libmodplug/snd_flt.cpp | 4 ++++ gst/modplug/libmodplug/snd_fx.cpp | 4 ++++ gst/modplug/libmodplug/sndfile.cpp | 4 ++++ gst/modplug/libmodplug/sndfile.h | 4 ---- gst/modplug/libmodplug/sndmix.cpp | 4 ++++ gst/modplug/libmodplug/tables.cpp | 4 ++++ gst/mpeg1sys/buffer.c | 4 ++++ gst/mpeg1sys/gstmpeg1systemencode.h | 1 - gst/mpeg1sys/systems.c | 4 ++++ gst/mpeg1videoparse/gstmp1videoparse.c | 4 ++++ gst/mpeg1videoparse/gstmp1videoparse.h | 1 - gst/mpeg2sub/gstmpeg2subt.h | 1 - gst/mpegaudioparse/gstmpegaudioparse.h | 1 - gst/passthrough/gstpassthrough.h | 1 - gst/playondemand/gstplayondemand.h | 1 - gst/rtjpeg/RTjpeg.h | 1 - gst/rtjpeg/gstrtjpeg.c | 3 +++ gst/rtjpeg/gstrtjpegdec.h | 1 - gst/rtjpeg/gstrtjpegenc.h | 1 - gst/smooth/gstsmooth.h | 2 -- gst/smpte/barboxwipes.c | 4 ++++ gst/smpte/gstmask.c | 3 +++ gst/smpte/paint.c | 4 ++++ gst/spectrum/fix_fft.c | 4 ++++ gst/speed/gstspeed.h | 4 ---- gst/stereo/gststereo.h | 1 - gst/vbidec/gstvbidec.c | 2 +- gst/vbidec/vbidata.c | 4 ++++ gst/vbidec/vbiscreen.c | 4 ++++ gst/videodrop/gstvideodrop.h | 1 - gst/virtualdub/gstvirtualdub.c | 4 ++++ gst/y4m/gsty4mencode.h | 1 - sys/cdrom/gstcdplayer.h | 4 ---- sys/cdrom/gstcdplayer_ioctl.c | 4 ++++ sys/cdrom/gstcdplayer_ioctl.h | 4 ---- sys/dxr3/ac3_padder.c | 4 ++++ sys/glsink/gstgl_rgbimage.c | 4 ++++ sys/glsink/gstglxwindow.c | 4 ++++ sys/glsink/regcomb_yuvrgb.c | 5 +++++ sys/qcam/dark.c | 4 ++++ sys/qcam/exposure.c | 4 ++++ sys/qcam/gstqcamsrc.h | 1 - sys/qcam/qcam-Linux.c | 3 +++ sys/qcam/qcam-lib.c | 4 ++++ sys/qcam/qcam-os.c | 3 +++ sys/v4l2/v4l2src_calls.c | 4 ++++ sys/vcd/vcdsrc.h | 1 - 141 files changed, 368 insertions(+), 76 deletions(-) diff --git a/ext/arts/gst_arts.h b/ext/arts/gst_arts.h index 9ecdbaefc1..cf0ead0646 100644 --- a/ext/arts/gst_arts.h +++ b/ext/arts/gst_arts.h @@ -24,7 +24,6 @@ #define __GST_ARTS_H__ -#include #include diff --git a/ext/arts/gst_artsio_impl.cc b/ext/arts/gst_artsio_impl.cc index 71cfea8519..dff27eb1c5 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 #include "artsflow.h" #include "stdsynthmodule.h" diff --git a/ext/audiofile/gstaf.c b/ext/audiofile/gstaf.c index 7014dad3f1..1d05ae3ff9 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 29342fe413..0f636dcd3a 100644 --- a/ext/audiofile/gstafparse.h +++ b/ext/audiofile/gstafparse.h @@ -25,7 +25,6 @@ #define __GST_AFPARSE_H__ -#include #include #include #include /* what else are we to do */ diff --git a/ext/audiofile/gstafsink.h b/ext/audiofile/gstafsink.h index 3e8c868ca6..76ce30af3c 100644 --- a/ext/audiofile/gstafsink.h +++ b/ext/audiofile/gstafsink.h @@ -25,7 +25,6 @@ #define __GST_AFSINK_H__ -#include #include #include /* what else are we to do */ diff --git a/ext/audiofile/gstafsrc.h b/ext/audiofile/gstafsrc.h index 23e8669c9d..c96c20c3d2 100644 --- a/ext/audiofile/gstafsrc.h +++ b/ext/audiofile/gstafsrc.h @@ -25,7 +25,6 @@ #define __GST_AFSRC_H__ -#include #include #include /* what else are we to do */ diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 7ef3070565..049691f4e5 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 1384a8883a..b5a0458e3b 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 fcc72a0198..c186ed1b26 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 d5839abdce..0544128b5c 100644 --- a/ext/gsm/gstgsmdec.h +++ b/ext/gsm/gstgsmdec.h @@ -22,7 +22,6 @@ #define __GST_GSMDEC_H__ -#include #include #ifdef GSM_HEADER_IN_SUBDIR diff --git a/ext/gsm/gstgsmenc.h b/ext/gsm/gstgsmenc.h index 77f29757f3..2366ed69c7 100644 --- a/ext/gsm/gstgsmenc.h +++ b/ext/gsm/gstgsmenc.h @@ -22,7 +22,6 @@ #define __GST_GSMENC_H__ -#include #include #ifdef GSM_HEADER_IN_SUBDIR diff --git a/ext/hermes/gstcolorspace.h b/ext/hermes/gstcolorspace.h index 45371c72db..ef8a8bfe59 100644 --- a/ext/hermes/gstcolorspace.h +++ b/ext/hermes/gstcolorspace.h @@ -22,7 +22,6 @@ #define __GST_COLORSPACE_H__ -#include #include #include "yuv2rgb.h" diff --git a/ext/ivorbis/vorbisenc.h b/ext/ivorbis/vorbisenc.h index 7170baacd3..d31d8374be 100644 --- a/ext/ivorbis/vorbisenc.h +++ b/ext/ivorbis/vorbisenc.h @@ -22,7 +22,6 @@ #define __VORBISENC_H__ -#include #include #include diff --git a/ext/jack/gstjackbin.c b/ext/jack/gstjackbin.c index 01713a70cb..cb1839c41c 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 #include #include diff --git a/ext/ladspa/gstladspa.h b/ext/ladspa/gstladspa.h index 89a039e9c4..b588ffa4ec 100644 --- a/ext/ladspa/gstladspa.h +++ b/ext/ladspa/gstladspa.h @@ -24,7 +24,6 @@ #define __GST_LADSPA_H__ -#include #include #include diff --git a/ext/ladspa/load.c b/ext/ladspa/load.c index c912106fa9..bf52eb1fdb 100644 --- a/ext/ladspa/load.c +++ b/ext/ladspa/load.c @@ -5,6 +5,10 @@ /*****************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/ext/ladspa/search.c b/ext/ladspa/search.c index aac4381b60..08b28d121f 100644 --- a/ext/ladspa/search.c +++ b/ext/ladspa/search.c @@ -5,6 +5,10 @@ /*****************************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index f254e728cc..279e7951ee 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 diff --git a/ext/mplex/gstmplex.h b/ext/mplex/gstmplex.h index 98b19aca8d..20107252a4 100644 --- a/ext/mplex/gstmplex.h +++ b/ext/mplex/gstmplex.h @@ -22,7 +22,6 @@ #define __GST_MPLEX_H__ -#include #include #include diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index b66fabca2b..3b1b6dd6b7 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -22,7 +22,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include + #include #include #include diff --git a/ext/snapshot/gstsnapshot.h b/ext/snapshot/gstsnapshot.h index c391beb3bb..e86d1aba45 100644 --- a/ext/snapshot/gstsnapshot.h +++ b/ext/snapshot/gstsnapshot.h @@ -22,7 +22,6 @@ #define __GST_SNAPSHOT_H__ -#include #include #include diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c index a6d7c28db1..af961a8cab 100644 --- a/ext/sndfile/gstsf.c +++ b/ext/sndfile/gstsf.c @@ -21,10 +21,10 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif + #include #include -#include #include #include "gstsf.h" diff --git a/ext/sndfile/gstsf.h b/ext/sndfile/gstsf.h index 3197effd00..a25311122d 100644 --- a/ext/sndfile/gstsf.h +++ b/ext/sndfile/gstsf.h @@ -22,7 +22,6 @@ #define __GST_SFSINK_H__ -#include #include #include diff --git a/ext/swfdec/gstswfdec.h b/ext/swfdec/gstswfdec.h index d3e6355ed9..8aa3ce3ac7 100644 --- a/ext/swfdec/gstswfdec.h +++ b/ext/swfdec/gstswfdec.h @@ -22,7 +22,6 @@ #define __GST_SWFDEC_H__ -#include #include #include diff --git a/ext/tarkin/gsttarkin.c b/ext/tarkin/gsttarkin.c index 8026bde519..e4619c663d 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 3fbac08dc6..b1baf4f303 100644 --- a/ext/tarkin/gsttarkindec.h +++ b/ext/tarkin/gsttarkindec.h @@ -22,7 +22,6 @@ #define __TARKINDEC_H__ -#include #include #include "tarkin.h" diff --git a/ext/tarkin/gsttarkinenc.h b/ext/tarkin/gsttarkinenc.h index 0a88784262..b6252a88a7 100644 --- a/ext/tarkin/gsttarkinenc.h +++ b/ext/tarkin/gsttarkinenc.h @@ -22,7 +22,6 @@ #define __TARKINENC_H__ -#include #include #include "tarkin.h" diff --git a/ext/tarkin/info.c b/ext/tarkin/info.c index 7937a69fdd..60f02bd8d0 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 #include #include diff --git a/ext/tarkin/mem.c b/ext/tarkin/mem.c index c2cf18c0be..2c304b7afc 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 a9e24afc0b..163fa87c64 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 a83aa4995c..9288e15b7b 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 6324867626..581f48f0a7 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 768446a2dc..f052f003db 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 #include "wavelet.h" diff --git a/ext/tarkin/yuv.c b/ext/tarkin/yuv.c index 6f5fb5c0a1..32c563f439 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 ad1b513320..3cfdfaa702 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 00641f6878..f526df5aaf 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 2b29180252..24f5fd246e 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 diff --git a/gst-libs/ext/mplex/padstrm.cc b/gst-libs/ext/mplex/padstrm.cc index 95e32dbac3..b60c664398 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 1b6d10b382..6f9806f07c 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 #include "stillsstream.hh" diff --git a/gst-libs/gst/audio/audioclock.c b/gst-libs/gst/audio/audioclock.c index 342009ff3c..feb06d507c 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 3a232b76a3..0d5809f19a 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 - #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 8a1c5823f1..541a086b49 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 fcb7de37df..efb3ddb36d 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 3c9e9bb9ff..2742667212 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 520c391335..b215bd7843 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 #ifndef PI diff --git a/gst-libs/gst/idct/ieeetest.c b/gst-libs/gst/idct/ieeetest.c index c3c66215cc..f5b270ebb8 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 #include #include diff --git a/gst-libs/gst/idct/intidct.c b/gst-libs/gst/idct/intidct.c index 119b7fd14b..e08e6adbe8 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 0090d8a723..3b640976ef 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 #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 b92371374b..77981598d7 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 #include #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 b559463d60..92957e16a6 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 #include #include "media-info.h" diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c index 486262e56a..64963661a8 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 c392e676a7..7650453a28 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 #include diff --git a/gst-libs/gst/resample/functable.c b/gst-libs/gst/resample/functable.c index 94dbec15d4..75b81f366c 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 #include diff --git a/gst-libs/gst/resample/private.h b/gst-libs/gst/resample/private.h index fb8ba87f3c..476e611e1a 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 b298e86dcd..52a80e61ae 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 #include diff --git a/gst-libs/gst/riff/riffencode.c b/gst-libs/gst/riff/riffencode.c index a22b1849d9..630725d562 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 /*#define DEBUG_ENABLED */ diff --git a/gst-libs/gst/riff/riffparse.c b/gst-libs/gst/riff/riffparse.c index 72a7820b8e..72c9e4bb9c 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 /*#define DEBUG_ENABLED */ diff --git a/gst-libs/gst/riff/riffutil.c b/gst-libs/gst/riff/riffutil.c index 612bdbaf5b..d33aefe34f 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 diff --git a/gst/cdxaparse/gstcdxaparse.h b/gst/cdxaparse/gstcdxaparse.h index fcf7710786..32af55272d 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 #include #include diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index b7b1de956b..f100d96ac8 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include + #include #include diff --git a/gst/deinterlace/gstdeinterlace.h b/gst/deinterlace/gstdeinterlace.h index 131b5bff87..45eda04a51 100644 --- a/gst/deinterlace/gstdeinterlace.h +++ b/gst/deinterlace/gstdeinterlace.h @@ -22,7 +22,6 @@ #define __GST_DEINTERLACE_H__ -#include #include /* #include */ diff --git a/gst/festival/gstfestival.h b/gst/festival/gstfestival.h index f1e382ef8f..ab463106b3 100644 --- a/gst/festival/gstfestival.h +++ b/gst/festival/gstfestival.h @@ -61,7 +61,6 @@ #define __GST_FESTIVAL_H__ -#include #include #ifdef __cplusplus diff --git a/gst/filter/iir.c b/gst/filter/iir.c index 1ef3154091..13e2e937e4 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 #include #include diff --git a/gst/flx/flx_color.c b/gst/flx/flx_color.c index 8a84d2b098..b64c90c441 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 #include - #include "flx_color.h" FlxColorSpaceConverter * diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index 34e6176bc9..9cc2a4160b 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include + #include #include #include diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index 37b6c64825..4ac6bc4ed9 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -25,6 +25,10 @@ Olivier Lapicque */ +#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 2b5994c268..d6202e690a 100644 --- a/gst/modplug/gstmodplug.h +++ b/gst/modplug/gstmodplug.h @@ -21,8 +21,6 @@ #ifndef __GST_MODPLUG_H__ #define __GST_MODPLUG_H__ -#include - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ diff --git a/gst/modplug/libmodplug/fastmix.cpp b/gst/modplug/libmodplug/fastmix.cpp index 0ee94bd0ec..910ef54942 100644 --- a/gst/modplug/libmodplug/fastmix.cpp +++ b/gst/modplug/libmodplug/fastmix.cpp @@ -5,6 +5,10 @@ * Markus Fick spline + fir-resampler */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "stdafx.h" #include "sndfile.h" #include diff --git a/gst/modplug/libmodplug/load_669.cpp b/gst/modplug/libmodplug/load_669.cpp index a0dbfabd76..2d361a7921 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 a757871165..37a34185a8 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 05d219b7f4..6d53f5a45f 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 df46cc64b0..95cf637528 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 f8b803b6a6..f49e65a2bd 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 4f51469f83..d84817ee70 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 3300450338..5c7ab4c0cb 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 1764759af6..29ea0d242d 100644 --- a/gst/modplug/libmodplug/load_it.cpp +++ b/gst/modplug/libmodplug/load_it.cpp @@ -5,6 +5,10 @@ * Adam Goode (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 2d86ce823f..5da56979ae 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 68572b5c62..20cb176d04 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 3f7e82806f..76eafe5158 100644 --- a/gst/modplug/libmodplug/load_med.cpp +++ b/gst/modplug/libmodplug/load_med.cpp @@ -5,6 +5,10 @@ * Adam Goode (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 3e48739d11..61f2d066ad 100644 --- a/gst/modplug/libmodplug/load_mod.cpp +++ b/gst/modplug/libmodplug/load_mod.cpp @@ -5,6 +5,10 @@ * Adam Goode (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 563839f128..eaee200725 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 0673768784..534cda209c 100644 --- a/gst/modplug/libmodplug/load_mtm.cpp +++ b/gst/modplug/libmodplug/load_mtm.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 4c4e08a1fb..7b4dd37031 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 19966a680a..b56d7755bd 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 28039153d3..8a4d7ac661 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 f4dead4bc7..bb3a5aaa10 100644 --- a/gst/modplug/libmodplug/load_s3m.cpp +++ b/gst/modplug/libmodplug/load_s3m.cpp @@ -5,6 +5,10 @@ * Adam Goode (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 10e3d555c4..4ddf64bac1 100644 --- a/gst/modplug/libmodplug/load_stm.cpp +++ b/gst/modplug/libmodplug/load_stm.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 91e1b30402..a676ebe673 100644 --- a/gst/modplug/libmodplug/load_ult.cpp +++ b/gst/modplug/libmodplug/load_ult.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 8913c740ff..8c2deef759 100644 --- a/gst/modplug/libmodplug/load_umx.cpp +++ b/gst/modplug/libmodplug/load_umx.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 3bcd132865..6eaf91e6d4 100644 --- a/gst/modplug/libmodplug/load_wav.cpp +++ b/gst/modplug/libmodplug/load_wav.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 8bc8939e31..d63de118be 100644 --- a/gst/modplug/libmodplug/load_xm.cpp +++ b/gst/modplug/libmodplug/load_xm.cpp @@ -5,6 +5,10 @@ * Adam Goode (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 200ee3b93d..333ebbcc70 100644 --- a/gst/modplug/libmodplug/mmcmp.cpp +++ b/gst/modplug/libmodplug/mmcmp.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 aea7d24c67..5e07c881f6 100644 --- a/gst/modplug/libmodplug/modplug.cpp +++ b/gst/modplug/libmodplug/modplug.cpp @@ -4,6 +4,10 @@ * Authors: Kenton Varda (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 0c2f643d9d..54a06360bf 100644 --- a/gst/modplug/libmodplug/snd_dsp.cpp +++ b/gst/modplug/libmodplug/snd_dsp.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 bcae20202b..00506d4af0 100644 --- a/gst/modplug/libmodplug/snd_flt.cpp +++ b/gst/modplug/libmodplug/snd_flt.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 78722d5a09..da4cb146d0 100644 --- a/gst/modplug/libmodplug/snd_fx.cpp +++ b/gst/modplug/libmodplug/snd_fx.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 7e31062b25..b65a113418 100644 --- a/gst/modplug/libmodplug/sndfile.cpp +++ b/gst/modplug/libmodplug/sndfile.cpp @@ -5,6 +5,10 @@ * Adam Goode (endian and char fixes for PPC) */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include //for GCCFIX #include "stdafx.h" #include "sndfile.h" diff --git a/gst/modplug/libmodplug/sndfile.h b/gst/modplug/libmodplug/sndfile.h index b322f63658..0fe6f459d1 100644 --- a/gst/modplug/libmodplug/sndfile.h +++ b/gst/modplug/libmodplug/sndfile.h @@ -5,10 +5,6 @@ * Adam Goode (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 4fd2955bb7..e509094320 100644 --- a/gst/modplug/libmodplug/sndmix.cpp +++ b/gst/modplug/libmodplug/sndmix.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 02b7d4af9e..2208cd080f 100644 --- a/gst/modplug/libmodplug/tables.cpp +++ b/gst/modplug/libmodplug/tables.cpp @@ -4,6 +4,10 @@ * Authors: Olivier Lapicque */ +#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 53104a3191..0d029529b0 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 #include diff --git a/gst/mpeg1sys/gstmpeg1systemencode.h b/gst/mpeg1sys/gstmpeg1systemencode.h index 7c26063a0e..44555332f0 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.h +++ b/gst/mpeg1sys/gstmpeg1systemencode.h @@ -22,7 +22,6 @@ #define __SYSTEM_ENCODE_H__ -#include #include #include diff --git a/gst/mpeg1sys/systems.c b/gst/mpeg1sys/systems.c index d0b3388a40..aa6de41ace 100644 --- a/gst/mpeg1sys/systems.c +++ b/gst/mpeg1sys/systems.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include "main.h" diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index f34db3f3da..0928c5e0b1 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 5d06738cc7..b8b4f01648 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.h +++ b/gst/mpeg1videoparse/gstmp1videoparse.h @@ -22,7 +22,6 @@ #define __MP1VIDEOPARSE_H__ -#include #include diff --git a/gst/mpeg2sub/gstmpeg2subt.h b/gst/mpeg2sub/gstmpeg2subt.h index aed08e7383..29f60b2782 100644 --- a/gst/mpeg2sub/gstmpeg2subt.h +++ b/gst/mpeg2sub/gstmpeg2subt.h @@ -22,7 +22,6 @@ #define __GST_MPEG2SUBT_H__ -#include #include diff --git a/gst/mpegaudioparse/gstmpegaudioparse.h b/gst/mpegaudioparse/gstmpegaudioparse.h index 7d1edc9528..ce8121a032 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.h +++ b/gst/mpegaudioparse/gstmpegaudioparse.h @@ -22,7 +22,6 @@ #define __MP3PARSE_H__ -#include #include diff --git a/gst/passthrough/gstpassthrough.h b/gst/passthrough/gstpassthrough.h index bcd09f9aea..fd4c244594 100644 --- a/gst/passthrough/gstpassthrough.h +++ b/gst/passthrough/gstpassthrough.h @@ -23,7 +23,6 @@ #define __GST_PASSTHROUGH_H__ -#include #include diff --git a/gst/playondemand/gstplayondemand.h b/gst/playondemand/gstplayondemand.h index 20e9359e19..b73b5c2ad2 100644 --- a/gst/playondemand/gstplayondemand.h +++ b/gst/playondemand/gstplayondemand.h @@ -23,7 +23,6 @@ #define __GST_PLAYONDEMAND_H__ -#include #include diff --git a/gst/rtjpeg/RTjpeg.h b/gst/rtjpeg/RTjpeg.h index 90e2a8d508..92b35242f0 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 #include typedef uint8_t __u8; diff --git a/gst/rtjpeg/gstrtjpeg.c b/gst/rtjpeg/gstrtjpeg.c index 68e113b424..e515429163 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 #include diff --git a/gst/rtjpeg/gstrtjpegdec.h b/gst/rtjpeg/gstrtjpegdec.h index 40b16fe0d1..2214ebd80d 100644 --- a/gst/rtjpeg/gstrtjpegdec.h +++ b/gst/rtjpeg/gstrtjpegdec.h @@ -22,7 +22,6 @@ #define __RTJPEGDEC_H__ -#include #include diff --git a/gst/rtjpeg/gstrtjpegenc.h b/gst/rtjpeg/gstrtjpegenc.h index 57a6f588b7..61303b7bc5 100644 --- a/gst/rtjpeg/gstrtjpegenc.h +++ b/gst/rtjpeg/gstrtjpegenc.h @@ -22,7 +22,6 @@ #define __RTJPEGENC_H__ -#include #include #include "RTjpeg.h" diff --git a/gst/smooth/gstsmooth.h b/gst/smooth/gstsmooth.h index efab70e024..eb32de36b7 100644 --- a/gst/smooth/gstsmooth.h +++ b/gst/smooth/gstsmooth.h @@ -22,10 +22,8 @@ #define __GST_SMOOTH_H__ -#include #include - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ diff --git a/gst/smpte/barboxwipes.c b/gst/smpte/barboxwipes.c index e1cab9d071..a490f632a6 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 6430f420d2..13c79b3449 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 e912dfdf58..dae3c6f199 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 #include #include "paint.h" diff --git a/gst/spectrum/fix_fft.c b/gst/spectrum/fix_fft.c index c48fbd9025..a5dd658fb1 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 5125830356..103ecdb8ca 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 G_BEGIN_DECLS diff --git a/gst/stereo/gststereo.h b/gst/stereo/gststereo.h index 238ec1a89e..8b78f25eb5 100644 --- a/gst/stereo/gststereo.h +++ b/gst/stereo/gststereo.h @@ -22,7 +22,6 @@ #define __GST_STEREO_H__ -#include #include diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c index 1655623d15..f84533dbbf 100644 --- a/gst/vbidec/gstvbidec.c +++ b/gst/vbidec/gstvbidec.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include + #include #include #include diff --git a/gst/vbidec/vbidata.c b/gst/vbidec/vbidata.c index b0bd7a1c08..fc0af5faf7 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 #include #include diff --git a/gst/vbidec/vbiscreen.c b/gst/vbidec/vbiscreen.c index df347acace..189591f138 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 #include #include diff --git a/gst/videodrop/gstvideodrop.h b/gst/videodrop/gstvideodrop.h index 8b447e3080..f5209842a2 100644 --- a/gst/videodrop/gstvideodrop.h +++ b/gst/videodrop/gstvideodrop.h @@ -20,7 +20,6 @@ #ifndef __GST_VIDEODROP_H__ #define __GST_VIDEODROP_H__ -#include #include G_BEGIN_DECLS diff --git a/gst/virtualdub/gstvirtualdub.c b/gst/virtualdub/gstvirtualdub.c index 99122bcc2c..c6091233da 100644 --- a/gst/virtualdub/gstvirtualdub.c +++ b/gst/virtualdub/gstvirtualdub.c @@ -16,6 +16,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "gstvirtualdub.h" diff --git a/gst/y4m/gsty4mencode.h b/gst/y4m/gsty4mencode.h index a42ad7274e..07d369ccd0 100644 --- a/gst/y4m/gsty4mencode.h +++ b/gst/y4m/gsty4mencode.h @@ -22,7 +22,6 @@ #define __GST_Y4MENCODE_H__ -#include #include /* #include */ diff --git a/sys/cdrom/gstcdplayer.h b/sys/cdrom/gstcdplayer.h index 39aaaf4316..7c6c4bf94b 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 -#endif - #include #include diff --git a/sys/cdrom/gstcdplayer_ioctl.c b/sys/cdrom/gstcdplayer_ioctl.c index f137d953b7..22ef22be21 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 diff --git a/sys/cdrom/gstcdplayer_ioctl.h b/sys/cdrom/gstcdplayer_ioctl.h index 986d1b2d38..65bc2c66f6 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 -#endif - #include #define LEADOUT 0 diff --git a/sys/dxr3/ac3_padder.c b/sys/dxr3/ac3_padder.c index f6ff270b66..bee59895a6 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 #include diff --git a/sys/glsink/gstgl_rgbimage.c b/sys/glsink/gstgl_rgbimage.c index a09e7a256e..ab856bbc77 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 /* gcc -ansi -pedantic on GNU/Linux causes warnings and errors diff --git a/sys/glsink/gstglxwindow.c b/sys/glsink/gstglxwindow.c index 3f9d3df905..3d173b2be6 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 39c86a0f55..d06427f428 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 15dbbb4e84..70acf979ae 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 #include #include diff --git a/sys/qcam/exposure.c b/sys/qcam/exposure.c index 66574f3277..b393bdb7d8 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 #include "qcam.h" #include "qcamip.h" diff --git a/sys/qcam/gstqcamsrc.h b/sys/qcam/gstqcamsrc.h index de884d4d8a..0bd201c849 100644 --- a/sys/qcam/gstqcamsrc.h +++ b/sys/qcam/gstqcamsrc.h @@ -22,7 +22,6 @@ #define __GST_QCAMSRC_H__ -#include #include #ifdef __cplusplus diff --git a/sys/qcam/qcam-Linux.c b/sys/qcam/qcam-Linux.c index f6383e0157..e73933d94d 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 #include diff --git a/sys/qcam/qcam-lib.c b/sys/qcam/qcam-lib.c index f3b49fb03a..cacd5d0827 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 #include #include diff --git a/sys/qcam/qcam-os.c b/sys/qcam/qcam-os.c index f6383e0157..e73933d94d 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 #include diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c index 521196cf4a..576b0c0bdf 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 #include #include diff --git a/sys/vcd/vcdsrc.h b/sys/vcd/vcdsrc.h index a5ab43c015..ab2c74dac7 100644 --- a/sys/vcd/vcdsrc.h +++ b/sys/vcd/vcdsrc.h @@ -22,7 +22,6 @@ #define __VCDSRC_H__ -#include #include #include