From c1375c871fa3844e800000d5aefac8ae22049368 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Dec 2014 01:20:10 +0100 Subject: Put ifdef around include --- libretro.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro.c b/libretro.c index 1d071d9..a273265 100644 --- a/libretro.c +++ b/libretro.c @@ -99,7 +99,9 @@ void retro_get_system_av_info(struct retro_system_av_info* info) info->timing.sample_rate = GBA_SOUND_FREQUENCY; } +#ifdef HAVE_MMAP #include +#endif void retro_init(void) { -- cgit v1.2.3