Commit 22d091b38d30cc22b923daca8cf0f0c0cffadcd7

Authored by Blue Swirl
1 parent d43277c5

Fix sdl_zoom compile problems on OpenBSD

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing 2 changed files with 2 additions and 1 deletions
Makefile
... ... @@ -187,7 +187,7 @@ sdl_zoom.o: sdl_zoom.c sdl_zoom.h sdl_zoom_template.h
187 187  
188 188 sdl.o: sdl.c keymaps.h sdl_keysym.h sdl_zoom.h
189 189  
190   -sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS)
  190 +sdl.o audio/sdlaudio.o sdl_zoom.o baum.o: CFLAGS += $(SDL_CFLAGS)
191 191  
192 192 acl.o: acl.h acl.c
193 193  
... ...
sdl_zoom.c
... ... @@ -14,6 +14,7 @@
14 14 #include "sdl_zoom.h"
15 15 #include "osdep.h"
16 16 #include <stdint.h>
  17 +#include <stdio.h>
17 18  
18 19 static int sdl_zoom_rgb16(SDL_Surface *src, SDL_Surface *dst, int smooth,
19 20 SDL_Rect *dst_rect);
... ...