summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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);