diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-01 18:49:34 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-07-01 18:49:34 +0000 |
commit | 22d091b38d30cc22b923daca8cf0f0c0cffadcd7 (patch) | |
tree | 5dbad329740b65357ccbf6b505fd11176db7db05 | |
parent | d43277c534904dc31d14bfb0dc934f3cfbe2dab5 (diff) |
Fix sdl_zoom compile problems on OpenBSD
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | sdl_zoom.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 <stdint.h> +#include <stdio.h> static int sdl_zoom_rgb16(SDL_Surface *src, SDL_Surface *dst, int smooth, SDL_Rect *dst_rect); |