Browse Source

fixed compilation on debian etch.

config.h is now included first, before any other header.

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
pull/2/head
Yohann Martineau 18 years ago
committed by Antoine Cellerier
parent
commit
f66626b348
  1. 9
      modules/access_output/file.c
  2. 3
      modules/audio_filter/channel_mixer/headphone.c
  3. 8
      modules/audio_filter/channel_mixer/mono.c
  4. 3
      modules/audio_filter/equalizer.c
  5. 8
      modules/audio_filter/normvol.c
  6. 3
      modules/audio_filter/param_eq.c
  7. 3
      modules/audio_output/file.c
  8. 9
      modules/audio_output/oss.c
  9. 3
      modules/control/motion.c
  10. 3
      modules/demux/demuxdump.c
  11. 13
      modules/demux/mp4/drms.c
  12. 9
      modules/mux/mpeg/pes.c
  13. 3
      modules/stream_out/mosaic_bridge.c
  14. 3
      modules/video_chroma/i420_rgb.c
  15. 3
      modules/video_chroma/i420_ymga.c
  16. 5
      modules/video_filter/adjust.c
  17. 5
      modules/video_filter/colorthres.c
  18. 3
      modules/video_filter/deinterlace.c
  19. 4
      modules/video_filter/gradient.c
  20. 4
      modules/video_filter/psychedelic.c
  21. 4
      modules/video_filter/ripple.c
  22. 4
      modules/video_filter/rotate.c
  23. 4
      modules/video_filter/wave.c
  24. 9
      modules/video_output/fb.c
  25. 3
      modules/video_output/opengl.c
  26. 3
      modules/video_output/x11/glx.c
  27. 4
      src/misc/filter_chain.c
  28. 6
      src/misc/image.c
  29. 3
      src/misc/md5.c
  30. 3
      src/text/iso_lang.c

9
modules/access_output/file.c

@ -25,16 +25,17 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>

3
modules/audio_filter/channel_mixer/headphone.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <math.h> /* sqrt */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sqrt */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>

8
modules/audio_filter/channel_mixer/mono.c

@ -24,6 +24,10 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sqrt */
#ifdef HAVE_STDINT_H
@ -36,10 +40,6 @@
# include <unistd.h>
#endif
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_es.h>

3
modules/audio_filter/equalizer.c

@ -24,12 +24,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>

8
modules/audio_filter/normvol.c

@ -32,6 +32,10 @@
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <ctype.h>
#include <signal.h>
@ -39,10 +43,6 @@
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>

3
modules/audio_filter/param_eq.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>

3
modules/audio_output/file.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>

9
modules/audio_output/oss.c

@ -26,15 +26,16 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
#include <fcntl.h> /* open(), O_WRONLY */
#include <sys/ioctl.h> /* ioctl() */
#include <unistd.h> /* write(), close() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <fcntl.h> /* open(), O_WRONLY */
#include <sys/ioctl.h> /* ioctl() */
#include <unistd.h> /* write(), close() */
#include <vlc_common.h>
#include <vlc_plugin.h>

3
modules/control/motion.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>

3
modules/demux/demuxdump.c

@ -24,12 +24,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_demux.h>

13
modules/demux/mp4/drms.c

@ -22,13 +22,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef WIN32
# include <io.h>
#else
# include <stdio.h>
#endif
#ifdef __LIBVLC__
#ifdef HAVE_CONFIG_H
# include "config.h"
@ -42,6 +35,12 @@
# include "drmsvl.h"
#endif
#ifdef WIN32
# include <io.h>
#else
# include <stdio.h>
#endif
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif

9
modules/mux/mpeg/pes.c

@ -25,15 +25,16 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <fcntl.h>
#include <vlc_common.h>
#include <vlc_sout.h>
#include <vlc_block.h>

3
modules/stream_out/mosaic_bridge.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>

3
modules/video_chroma/i420_rgb.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <math.h> /* exp(), pow() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* exp(), pow() */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>

3
modules/video_chroma/i420_ymga.c

@ -24,12 +24,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>

5
modules/video_filter/adjust.c

@ -25,13 +25,14 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>

5
modules/video_filter/colorthres.c

@ -24,13 +24,14 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
#include <math.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>

3
modules/video_filter/deinterlace.c

@ -24,12 +24,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h>
#ifdef HAVE_ALTIVEC_H
# include <altivec.h>
#endif

4
modules/video_filter/gradient.c

@ -26,12 +26,12 @@
* Preamble
*****************************************************************************/
#include <math.h> /* sin(), cos() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sin(), cos() */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>

4
modules/video_filter/psychedelic.c

@ -26,12 +26,12 @@
* Preamble
*****************************************************************************/
#include <math.h> /* sin(), cos() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sin(), cos() */
#include <vlc_common.h>
#include <vlc_plugin.h>

4
modules/video_filter/ripple.c

@ -26,12 +26,12 @@
* Preamble
*****************************************************************************/
#include <math.h> /* sin(), cos() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sin(), cos() */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>

4
modules/video_filter/rotate.c

@ -25,12 +25,12 @@
* Preamble
*****************************************************************************/
#include <math.h> /* sin(), cos() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sin(), cos() */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>

4
modules/video_filter/wave.c

@ -26,12 +26,12 @@
* Preamble
*****************************************************************************/
#include <math.h> /* sin(), cos() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> /* sin(), cos() */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>

9
modules/video_output/fb.c

@ -25,6 +25,11 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <signal.h> /* SIGUSR1, SIGUSR2 */
#include <fcntl.h> /* open() */
@ -38,10 +43,6 @@
#include <linux/vt.h> /* VT_* */
#include <linux/kd.h> /* KD* */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>

3
modules/video_output/opengl.c

@ -27,12 +27,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>

3
modules/video_output/x11/glx.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <errno.h> /* ENOMEM */
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>

4
src/misc/filter_chain.c

@ -21,6 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_filter.h>
#include <vlc_arrays.h>

6
src/misc/image.c

@ -29,12 +29,14 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <ctype.h>
#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <ctype.h>
#include <errno.h>
#include <vlc_common.h>
#include <vlc_codec.h>
#include <vlc_filter.h>

3
src/misc/md5.c

@ -22,11 +22,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <string.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <vlc_common.h>
#include <vlc_md5.h>

3
src/text/iso_lang.c

@ -25,12 +25,13 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <stdio.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <vlc_common.h>
#include "vlc_iso_lang.h"

Loading…
Cancel
Save