# HG changeset patch # User pl # Date 1005272222 0 # Node ID 8e3875816f6d6bf78b35aa1d9536cf39aba8e182 # Parent 039568c6947d5675d7c043a15e2559a88f0680ae added missing #include #include "config.h" moved as 1st #include since it defines HAVE_foo_h for later conditional inclusions diff -r 039568c6947d -r 8e3875816f6d dec_video.c --- a/dec_video.c Fri Nov 09 02:02:58 2001 +0000 +++ b/dec_video.c Fri Nov 09 02:17:02 2001 +0000 @@ -1,9 +1,13 @@ + +#include "config.h" #include +#ifdef HAVE_MALLOC_H +#include +#endif #include #include -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff -r 039568c6947d -r 8e3875816f6d dll_init.c --- a/dll_init.c Fri Nov 09 02:02:58 2001 +0000 +++ b/dll_init.c Fri Nov 09 02:17:02 2001 +0000 @@ -1,9 +1,13 @@ + +#include "config.h" #include +#ifdef HAVE_MALLOC_H +#include +#endif #include #include -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff -r 039568c6947d -r 8e3875816f6d libmpdemux/video.c --- a/libmpdemux/video.c Fri Nov 09 02:02:58 2001 +0000 +++ b/libmpdemux/video.c Fri Nov 09 02:17:02 2001 +0000 @@ -1,10 +1,14 @@ // read video frame +#include "config.h" + #include +#ifdef HAVE_MALLOC_H +#include +#endif #include #include -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff -r 039568c6947d -r 8e3875816f6d libmpeg2/decode.c --- a/libmpeg2/decode.c Fri Nov 09 02:02:58 2001 +0000 +++ b/libmpeg2/decode.c Fri Nov 09 02:17:02 2001 +0000 @@ -5,7 +5,12 @@ #define PACKAGE "mpeg2dec" #define VERSION "0.2.0-release" +#include "config.h" + #include +#ifdef HAVE_MALLOC_H +#include +#endif #include #include #include @@ -15,7 +20,6 @@ #include -#include "config.h" #include "video_out.h" #include diff -r 039568c6947d -r 8e3875816f6d libvo/vo_vesa.c --- a/libvo/vo_vesa.c Fri Nov 09 02:02:58 2001 +0000 +++ b/libvo/vo_vesa.c Fri Nov 09 02:17:02 2001 +0000 @@ -15,20 +15,20 @@ note: triple buffering requires VBE 3.0 - need volunteers. - refresh rate support (need additional info from mplayer) */ +#include "config.h" + #include +#ifdef HAVE_MALLOC_H +#include +#endif #include #include #include #include -#include "config.h" #include "video_out.h" #include "video_out_internal.h" -#ifdef HAVE_MALLOC_H -#include -#endif - #include "fastmemcpy.h" #include "sub.h" #include "linux/vbelib.h" diff -r 039568c6947d -r 8e3875816f6d postproc/postprocess.c --- a/postproc/postprocess.c Fri Nov 09 02:02:58 2001 +0000 +++ b/postproc/postprocess.c Fri Nov 09 02:17:02 2001 +0000 @@ -70,11 +70,11 @@ //Changelog: use the CVS log +#include "../config.h" #include #include #include #include -#include "../config.h" #ifdef HAVE_MALLOC_H #include #endif diff -r 039568c6947d -r 8e3875816f6d postproc/postprocess_template.c --- a/postproc/postprocess_template.c Fri Nov 09 02:02:58 2001 +0000 +++ b/postproc/postprocess_template.c Fri Nov 09 02:17:02 2001 +0000 @@ -70,11 +70,11 @@ //Changelog: use the CVS log +#include "../config.h" #include #include #include #include -#include "../config.h" #ifdef HAVE_MALLOC_H #include #endif