Put ifdef around <sys/mman.h> include

This commit is contained in:
twinaphex 2014-12-13 01:20:10 +01:00
parent 320bf35a8c
commit c1375c871f
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{