From 74d8c35e5d1cc8ee47bcb498a88ca4e78612ed12 Mon Sep 17 00:00:00 2001 From: pl Date: Thu, 25 Oct 2001 23:34:14 +0000 Subject: a few warning fixes (missing #include's) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2477 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/wm/ws.c | 6 ++++++ libvo/font_load.c | 2 +- linux/timer-lx.c | 1 + postproc/postprocess.c | 3 +++ postproc/postprocess_template.c | 3 +++ postproc/swscale.c | 1 + postproc/swscale_template.c | 1 + xa/xa_gsm.c | 1 + 8 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c index 899f6b095d..1a95b6255f 100644 --- a/Gui/wm/ws.c +++ b/Gui/wm/ws.c @@ -21,7 +21,13 @@ #include "../../config.h" #include +#ifdef HAVE_XSHAPE #include +#endif +#ifdef HAVE_DGA2 +#include +#endif + #include #include diff --git a/libvo/font_load.c b/libvo/font_load.c index 75bc155ee1..672123bb86 100644 --- a/libvo/font_load.c +++ b/libvo/font_load.c @@ -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; diff --git a/linux/timer-lx.c b/linux/timer-lx.c index 8caf93ec62..79396ec9d0 100644 --- a/linux/timer-lx.c +++ b/linux/timer-lx.c @@ -1,6 +1,7 @@ // Precise timer routines for LINUX (C) LGB & A'rpi/ASTRAL #include +#include #include int usec_sleep(int usec_delay) diff --git a/postproc/postprocess.c b/postproc/postprocess.c index dbe60191fb..b097194c92 100644 --- a/postproc/postprocess.c +++ b/postproc/postprocess.c @@ -74,6 +74,9 @@ Notes: #include #include #include "../config.h" +#ifdef HAVE_MALLOC_H +#include +#endif //#undef HAVE_MMX2 //#define HAVE_3DNOW //#undef HAVE_MMX diff --git a/postproc/postprocess_template.c b/postproc/postprocess_template.c index dbe60191fb..b097194c92 100644 --- a/postproc/postprocess_template.c +++ b/postproc/postprocess_template.c @@ -74,6 +74,9 @@ Notes: #include #include #include "../config.h" +#ifdef HAVE_MALLOC_H +#include +#endif //#undef HAVE_MMX2 //#define HAVE_3DNOW //#undef HAVE_MMX diff --git a/postproc/swscale.c b/postproc/swscale.c index f36cdac937..b26bea4483 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -6,6 +6,7 @@ // the parts written by michael are under GNU GPL #include +#include #include "../config.h" #include "swscale.h" diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index f36cdac937..b26bea4483 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -6,6 +6,7 @@ // the parts written by michael are under GNU GPL #include +#include #include "../config.h" #include "swscale.h" diff --git a/xa/xa_gsm.c b/xa/xa_gsm.c index 57d2fef251..d014eaabbc 100644 --- a/xa/xa_gsm.c +++ b/xa/xa_gsm.c @@ -28,6 +28,7 @@ improvements that may be of general interest. #include +#include #include /* POD optional */ #include "xa_gsm_int.h" -- cgit v1.2.3