Bug 510657 - simple OS/2 build fix in nanojit/avmplus, r=graydon

--HG--
extra : rebase_source : 7d4d1a75b659862460ecccdef80ce95fca119e32
This commit is contained in:
Rich Walsh 2009-08-19 13:42:46 +02:00
parent 93bcc968f6
commit 26a48fb72d
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ nanojit::CodeAlloc::allocCodeChunk(size_t nbytes) {
void
nanojit::CodeAlloc::freeCodeChunk(void *p, size_t nbytes) {
free(p);
::free(p);
}
#endif // WIN32

View File

@ -41,7 +41,7 @@
#include <stdio.h>
#include <stdlib.h>
#if defined(AVMPLUS_UNIX)
#if defined(AVMPLUS_UNIX) || defined(AVMPLUS_OS2)
#include <unistd.h>
#include <sys/mman.h>
#endif