From: Blue Swirl Date: Wed, 1 Jul 2009 18:49:34 +0000 (+0000) Subject: Fix sdl_zoom compile problems on OpenBSD X-Git-Tag: v0.11.0-rc0~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d091b38d30cc22b923daca8cf0f0c0cffadcd7;p=thirdparty%2Fqemu.git Fix sdl_zoom compile problems on OpenBSD Signed-off-by: Blue Swirl --- diff --git a/Makefile b/Makefile index 2a4b3f335e5..66c28e5190f 100644 --- a/Makefile +++ b/Makefile @@ -187,7 +187,7 @@ sdl_zoom.o: sdl_zoom.c sdl_zoom.h sdl_zoom_template.h sdl.o: sdl.c keymaps.h sdl_keysym.h sdl_zoom.h -sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS) +sdl.o audio/sdlaudio.o sdl_zoom.o baum.o: CFLAGS += $(SDL_CFLAGS) acl.o: acl.h acl.c diff --git a/sdl_zoom.c b/sdl_zoom.c index 56d3604fc3d..a986c7c14c6 100644 --- a/sdl_zoom.c +++ b/sdl_zoom.c @@ -14,6 +14,7 @@ #include "sdl_zoom.h" #include "osdep.h" #include +#include static int sdl_zoom_rgb16(SDL_Surface *src, SDL_Surface *dst, int smooth, SDL_Rect *dst_rect);