Put ifdef around <sys/mman.h> include
This commit is contained in:
parent
320bf35a8c
commit
c1375c871f
|
@ -99,7 +99,9 @@ void retro_get_system_av_info(struct retro_system_av_info* info)
|
||||||
info->timing.sample_rate = GBA_SOUND_FREQUENCY;
|
info->timing.sample_rate = GBA_SOUND_FREQUENCY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_MMAP
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
void retro_init(void)
|
void retro_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue