Fix sdl_zoom compile problems on OpenBSD
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 1 Jul 2009 18:49:34 +0000 (18:49 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 1 Jul 2009 18:49:34 +0000 (18:49 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Makefile
sdl_zoom.c

index 2a4b3f335e5019a554abe14930ff4f82cd2996e5..66c28e5190f7629f4badb22f387248fb37facaaf 100644 (file)
--- 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
 
index 56d3604fc3d79e4cc4622be8437c78bf70075da3..a986c7c14c6c187c7cd5cdfce3711134f688fe01 100644 (file)
@@ -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);