Mercurial > mplayer.hg
changeset 2476:a6c5a537f30a
a few warning fixes (missing #include's)
author | pl |
---|---|
date | Thu, 25 Oct 2001 23:34:14 +0000 |
parents | 3369845d92f4 |
children | 830c0e171d7d |
files | Gui/wm/ws.c libvo/font_load.c linux/timer-lx.c postproc/postprocess.c postproc/postprocess_template.c postproc/swscale.c postproc/swscale_template.c xa/xa_gsm.c |
diffstat | 8 files changed, 17 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/wm/ws.c Thu Oct 25 22:50:03 2001 +0000 +++ b/Gui/wm/ws.c Thu Oct 25 23:34:14 2001 +0000 @@ -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>
--- a/libvo/font_load.c Thu Oct 25 22:50:03 2001 +0000 +++ b/libvo/font_load.c Thu Oct 25 23:34:14 2001 +0000 @@ -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;
--- a/linux/timer-lx.c Thu Oct 25 22:50:03 2001 +0000 +++ b/linux/timer-lx.c Thu Oct 25 23:34:14 2001 +0000 @@ -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)
--- a/postproc/postprocess.c Thu Oct 25 22:50:03 2001 +0000 +++ b/postproc/postprocess.c Thu Oct 25 23:34:14 2001 +0000 @@ -74,6 +74,9 @@ #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
--- a/postproc/postprocess_template.c Thu Oct 25 22:50:03 2001 +0000 +++ b/postproc/postprocess_template.c Thu Oct 25 23:34:14 2001 +0000 @@ -74,6 +74,9 @@ #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
--- a/postproc/swscale.c Thu Oct 25 22:50:03 2001 +0000 +++ b/postproc/swscale.c Thu Oct 25 23:34:14 2001 +0000 @@ -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"