mirror of https://github.com/mpv-player/mpv
a few warning fixes (missing #include's)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2477 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4a83e16d1b
commit
74d8c35e5d
|
@ -21,7 +21,13 @@
|
|||
#include "../../config.h"
|
||||
|
||||
#include <X11/extensions/XShm.h>
|
||||
#ifdef HAVE_XSHAPE
|
||||
#include <X11/extensions/shape.h>
|
||||
#endif
|
||||
#ifdef HAVE_DGA2
|
||||
#include <X11/extensions/xf86dga.h>
|
||||
#endif
|
||||
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "config.h"
|
||||
#include "font_load.h"
|
||||
|
||||
char *get_path ( char * );
|
||||
extern char *get_path ( char * );
|
||||
|
||||
raw_file* load_raw(char *name,int verbose){
|
||||
int bpp;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Precise timer routines for LINUX (C) LGB & A'rpi/ASTRAL
|
||||
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
int usec_sleep(int usec_delay)
|
||||
|
|
|
@ -74,6 +74,9 @@ Notes:
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "../config.h"
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
//#undef HAVE_MMX2
|
||||
//#define HAVE_3DNOW
|
||||
//#undef HAVE_MMX
|
||||
|
|
|
@ -74,6 +74,9 @@ Notes:
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "../config.h"
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
//#undef HAVE_MMX2
|
||||
//#define HAVE_3DNOW
|
||||
//#undef HAVE_MMX
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
// the parts written by michael are under GNU GPL
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include "../config.h"
|
||||
#include "swscale.h"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
// the parts written by michael are under GNU GPL
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include "../config.h"
|
||||
#include "swscale.h"
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ improvements that may be of general interest.
|
|||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h> /* POD optional */
|
||||
#include "xa_gsm_int.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue