From: Blue Swirl Date: Wed, 1 Jul 2009 18:49:34 +0000 (+0000) Subject: Fix sdl_zoom compile problems on OpenBSD X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~7896 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22d091b38d30cc22b923daca8cf0f0c0cffadcd7;p=sdk%2Femulator%2Fqemu.git Fix sdl_zoom compile problems on OpenBSD Signed-off-by: Blue Swirl --- diff --git a/Makefile b/Makefile index 2a4b3f335e..66c28e5190 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 56d3604fc3..a986c7c14c 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);