Commit cb90622b authored by Ronald S. Bultje's avatar Ronald S. Bultje

Remove all config.h includes from header files, add it to each source file and...

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
parent ac872637
......@@ -24,7 +24,6 @@
#define __GST_ARTS_H__
#include <config.h>
#include <gst/gst.h>
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <math.h>
#include "artsflow.h"
#include "stdsynthmodule.h"
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstafsrc.h"
#include "gstafsink.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 */
......
......@@ -25,7 +25,6 @@
#define __GST_AFSINK_H__
#include <config.h>
#include <gst/gst.h>
#include <audiofile.h> /* what else are we to do */
......
......@@ -25,7 +25,6 @@
#define __GST_AFSRC_H__
#include <config.h>
#include <gst/gst.h>
#include <audiofile.h> /* what else are we to do */
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "config.h"
#endif
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "config.h"
#endif
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstgsmdec.h"
#include "gstgsmenc.h"
......
......@@ -22,7 +22,6 @@
#define __GST_GSMDEC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef GSM_HEADER_IN_SUBDIR
......
......@@ -22,7 +22,6 @@
#define __GST_GSMENC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef GSM_HEADER_IN_SUBDIR
......
......@@ -22,7 +22,6 @@
#define __GST_COLORSPACE_H__
#include <config.h>
#include <gst/gst.h>
#include "yuv2rgb.h"
......
......@@ -22,7 +22,6 @@
#define __VORBISENC_H__
#include <config.h>
#include <gst/gst.h>
#include <tremor/codec.h>
......
......@@ -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>
......
......@@ -24,7 +24,6 @@
#define __GST_LADSPA_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
......
......@@ -5,6 +5,10 @@
/*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -5,6 +5,10 @@
/*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
......
......@@ -22,7 +22,6 @@
#define __GST_MPLEX_H__
#include <config.h>
#include <stdlib.h>
#include <gst/gst.h>
......
......@@ -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>
......
......@@ -22,7 +22,6 @@
#define __GST_SNAPSHOT_H__
#include <config.h>
#include <gst/gst.h>
#include <png.h>
......
......@@ -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"
......
......@@ -22,7 +22,6 @@
#define __GST_SFSINK_H__
#include <config.h>
#include <gst/gst.h>
#include <sndfile.h>
......
......@@ -22,7 +22,6 @@
#define __GST_SWFDEC_H__
#include <config.h>
#include <gst/gst.h>
#include <swfdec.h>
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gsttarkinenc.h"
#include "gsttarkindec.h"
......
......@@ -22,7 +22,6 @@
#define __TARKINDEC_H__
#include <config.h>
#include <gst/gst.h>
#include "tarkin.h"
......
......@@ -22,7 +22,6 @@
#define __TARKINENC_H__
#include <config.h>
#include <gst/gst.h>
#include "tarkin.h"
......
......@@ -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>
......
......@@ -2,6 +2,9 @@
* Debugging implementation of MALLOC and friends
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "mem.h"
......
......@@ -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"
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "mem.h"
#include "wavelet.h"
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "mem.h"
#include "wavelet.h"
#include "rle.h"
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "mem.h"
#include <assert.h>
#include "wavelet.h"
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "yuv.h"
/*#define TARKIN_YUV_EXACT*/
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "config.h"
#endif
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "config.h"
#endif
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "buffer.hh"
#include <stdlib.h>
......
......@@ -20,6 +20,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "padstrm.hh"
......
......@@ -21,6 +21,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <format_codes.h>
#include "stillsstream.hh"
......
......@@ -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);
......
......@@ -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
......
......@@ -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"
......
/* define DCT types */
#include "config.h"
/*
* DCTSIZE underlying (1d) transform size
* DCTSIZE2 DCTSIZE squared
......
......@@ -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 */
......
......@@ -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
......
......@@ -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>
......
......@@ -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
......
......@@ -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 */
......
......@@ -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"
......
......@@ -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"
......
......@@ -22,6 +22,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "play.h"
enum
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.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);
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <riff.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>
......
......@@ -20,7 +20,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <gst/gst.h>
#include <gst/video/video.h>
......
......@@ -22,7 +22,6 @@
#define __GST_DEINTERLACE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -61,7 +61,6 @@
#define __GST_FESTIVAL_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -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>
......
......@@ -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 *
......
......@@ -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>
......
......@@ -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"
......
......@@ -21,8 +21,6 @@
#ifndef __GST_MODPLUG_H__
#define __GST_MODPLUG_H__
#include <config.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
......
......@@ -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>
......
......@@ -9,6 +9,10 @@
// 669 Composer / UNIS 669 module loader
////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "stdafx.h"
#include "sndfile.h"
......
......@@ -13,6 +13,11 @@
// - Advanced Music Format(DSM)
//
///////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include "config.h"