summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-13 01:20:10 +0100
committertwinaphex2014-12-13 01:20:10 +0100
commitc1375c871fa3844e800000d5aefac8ae22049368 (patch)
treec5a6e4ac54cdd841ec66c018e35531a40f5e94d4
parent320bf35a8c44448d9ed75110c0be50164361982a (diff)
downloadpicogpsp-c1375c871fa3844e800000d5aefac8ae22049368.tar.gz
picogpsp-c1375c871fa3844e800000d5aefac8ae22049368.tar.bz2
picogpsp-c1375c871fa3844e800000d5aefac8ae22049368.zip
Put ifdef around <sys/mman.h> include
-rw-r--r--libretro.c2
1 files changed, 2 insertions, 0 deletions
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 <sys/mman.h>
+#endif
void retro_init(void)
{