add missing include for open when needed with mprotect
svn: r11972
This commit is contained in:
parent
9779ffb677
commit
4609f594b6
|
@ -42,6 +42,9 @@
|
|||
#ifdef MZ_JIT_USE_MPROTECT
|
||||
# include <unistd.h>
|
||||
# include <sys/mman.h>
|
||||
# ifndef MAP_ANON
|
||||
# include <fcntl.h>
|
||||
# endif
|
||||
#endif
|
||||
#ifdef MZ_JIT_USE_WINDOWS_VIRTUAL_ALLOC
|
||||
# include <windows.h>
|
||||
|
|
Loading…
Reference in New Issue
Block a user