add missing include for open when needed with mprotect

svn: r11972
This commit is contained in:
Matthew Flatt 2008-10-08 14:59:47 +00:00
parent 9779ffb677
commit 4609f594b6

View File

@ -42,6 +42,9 @@
#ifdef MZ_JIT_USE_MPROTECT #ifdef MZ_JIT_USE_MPROTECT
# include <unistd.h> # include <unistd.h>
# include <sys/mman.h> # include <sys/mman.h>
# ifndef MAP_ANON
# include <fcntl.h>
# endif
#endif #endif
#ifdef MZ_JIT_USE_WINDOWS_VIRTUAL_ALLOC #ifdef MZ_JIT_USE_WINDOWS_VIRTUAL_ALLOC
# include <windows.h> # include <windows.h>