diff options
-rw-r--r-- | Gui/wm/ws.c | 6 | ||||
-rw-r--r-- | libvo/font_load.c | 2 | ||||
-rw-r--r-- | linux/timer-lx.c | 1 | ||||
-rw-r--r-- | postproc/postprocess.c | 3 | ||||
-rw-r--r-- | postproc/postprocess_template.c | 3 | ||||
-rw-r--r-- | postproc/swscale.c | 1 | ||||
-rw-r--r-- | postproc/swscale_template.c | 1 | ||||
-rw-r--r-- | xa/xa_gsm.c | 1 |
8 files changed, 17 insertions, 1 deletions
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 <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> 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 <unistd.h> +#include <time.h> #include <sys/time.h> 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 <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 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 <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 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 <inttypes.h> +#include <string.h> #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 <inttypes.h> +#include <string.h> #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 <stdio.h> +#include <string.h> #include <assert.h> /* POD optional */ #include "xa_gsm_int.h" |