diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-09 02:17:02 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-09 02:17:02 +0000 |
commit | 0afb7c93318632543a207db4b27c0882ed680435 (patch) | |
tree | d54e69da733f4f738f73d5443caf27be0b8f541e | |
parent | 2b1aa3af8629892d1e82808419101b5d64422e33 (diff) | |
download | mpv-0afb7c93318632543a207db4b27c0882ed680435.tar.bz2 mpv-0afb7c93318632543a207db4b27c0882ed680435.tar.xz |
added missing #include <malloc.h>
#include "config.h" moved as 1st #include since it defines HAVE_foo_h for
later conditional inclusions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2776 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | dec_video.c | 6 | ||||
-rw-r--r-- | dll_init.c | 6 | ||||
-rw-r--r-- | libmpdemux/video.c | 6 | ||||
-rw-r--r-- | libmpeg2/decode.c | 6 | ||||
-rw-r--r-- | libvo/vo_vesa.c | 10 | ||||
-rw-r--r-- | postproc/postprocess.c | 2 | ||||
-rw-r--r-- | postproc/postprocess_template.c | 2 |
7 files changed, 27 insertions, 11 deletions
diff --git a/dec_video.c b/dec_video.c index 2ca90866a3..ddbea1d07e 100644 --- a/dec_video.c +++ b/dec_video.c @@ -1,9 +1,13 @@ +#include "config.h" + #include <stdio.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif #include <stdlib.h> #include <unistd.h> -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff --git a/dll_init.c b/dll_init.c index 10041700fa..f43f79e1c5 100644 --- a/dll_init.c +++ b/dll_init.c @@ -1,9 +1,13 @@ +#include "config.h" + #include <stdio.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif #include <stdlib.h> #include <unistd.h> -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff --git a/libmpdemux/video.c b/libmpdemux/video.c index c7a8de8870..c45a195f6b 100644 --- a/libmpdemux/video.c +++ b/libmpdemux/video.c @@ -1,10 +1,14 @@ // read video frame +#include "config.h" + #include <stdio.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif #include <stdlib.h> #include <unistd.h> -#include "config.h" #include "mp_msg.h" #include "help_mp.h" diff --git a/libmpeg2/decode.c b/libmpeg2/decode.c index 2e75244b38..d8560380ea 100644 --- a/libmpeg2/decode.c +++ b/libmpeg2/decode.c @@ -5,7 +5,12 @@ #define PACKAGE "mpeg2dec" #define VERSION "0.2.0-release" +#include "config.h" + #include <stdio.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif #include <stdlib.h> #include <unistd.h> #include <fcntl.h> @@ -15,7 +20,6 @@ #include <setjmp.h> -#include "config.h" #include "video_out.h" #include <inttypes.h> diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 60904daef7..f129103b09 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -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 <stdio.h> +#ifdef HAVE_MALLOC_H +#include <malloc.h> +#endif #include <stdlib.h> #include <string.h> #include <stddef.h> #include <limits.h> -#include "config.h" #include "video_out.h" #include "video_out_internal.h" -#ifdef HAVE_MALLOC_H -#include <malloc.h> -#endif - #include "fastmemcpy.h" #include "sub.h" #include "linux/vbelib.h" diff --git a/postproc/postprocess.c b/postproc/postprocess.c index 902a6298e5..7ea6b35b95 100644 --- a/postproc/postprocess.c +++ b/postproc/postprocess.c @@ -70,11 +70,11 @@ Notes: //Changelog: use the CVS log +#include "../config.h" #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "../config.h" #ifdef HAVE_MALLOC_H #include <malloc.h> #endif diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c index 902a6298e5..7ea6b35b95 100644 --- a/postproc/postprocess_template.c +++ b/postproc/postprocess_template.c @@ -70,11 +70,11 @@ Notes: //Changelog: use the CVS log +#include "../config.h" #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "../config.h" #ifdef HAVE_MALLOC_H #include <malloc.h> #endif |