1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

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
This commit is contained in:
pl 2001-11-09 02:17:02 +00:00
parent 2b1aa3af86
commit 0afb7c9331
7 changed files with 27 additions and 11 deletions

View File

@ -1,9 +1,13 @@
#include "config.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "config.h"
#include "mp_msg.h" #include "mp_msg.h"
#include "help_mp.h" #include "help_mp.h"

View File

@ -1,9 +1,13 @@
#include "config.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "config.h"
#include "mp_msg.h" #include "mp_msg.h"
#include "help_mp.h" #include "help_mp.h"

View File

@ -1,10 +1,14 @@
// read video frame // read video frame
#include "config.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "config.h"
#include "mp_msg.h" #include "mp_msg.h"
#include "help_mp.h" #include "help_mp.h"

View File

@ -5,7 +5,12 @@
#define PACKAGE "mpeg2dec" #define PACKAGE "mpeg2dec"
#define VERSION "0.2.0-release" #define VERSION "0.2.0-release"
#include "config.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
@ -15,7 +20,6 @@
#include <setjmp.h> #include <setjmp.h>
#include "config.h"
#include "video_out.h" #include "video_out.h"
#include <inttypes.h> #include <inttypes.h>

View File

@ -15,20 +15,20 @@
note: triple buffering requires VBE 3.0 - need volunteers. note: triple buffering requires VBE 3.0 - need volunteers.
- refresh rate support (need additional info from mplayer) - refresh rate support (need additional info from mplayer)
*/ */
#include "config.h"
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stddef.h> #include <stddef.h>
#include <limits.h> #include <limits.h>
#include "config.h"
#include "video_out.h" #include "video_out.h"
#include "video_out_internal.h" #include "video_out_internal.h"
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
#include "fastmemcpy.h" #include "fastmemcpy.h"
#include "sub.h" #include "sub.h"
#include "linux/vbelib.h" #include "linux/vbelib.h"

View File

@ -70,11 +70,11 @@ Notes:
//Changelog: use the CVS log //Changelog: use the CVS log
#include "../config.h"
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "../config.h"
#ifdef HAVE_MALLOC_H #ifdef HAVE_MALLOC_H
#include <malloc.h> #include <malloc.h>
#endif #endif

View File

@ -70,11 +70,11 @@ Notes:
//Changelog: use the CVS log //Changelog: use the CVS log
#include "../config.h"
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "../config.h"
#ifdef HAVE_MALLOC_H #ifdef HAVE_MALLOC_H
#include <malloc.h> #include <malloc.h>
#endif #endif