summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-01 18:49:34 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-01 18:49:34 +0000
commit22d091b38d30cc22b923daca8cf0f0c0cffadcd7 (patch)
tree5dbad329740b65357ccbf6b505fd11176db7db05
parentd43277c534904dc31d14bfb0dc934f3cfbe2dab5 (diff)
Fix sdl_zoom compile problems on OpenBSD
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--Makefile2
-rw-r--r--sdl_zoom.c1
2 files changed, 2 insertions, 1 deletions
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 <stdint.h>
+#include <stdio.h>
static int sdl_zoom_rgb16(SDL_Surface *src, SDL_Surface *dst, int smooth,
SDL_Rect *dst_rect);