diff options
author | Erik Verbruggen <[email protected]> | 2013-04-19 21:24:46 +0200 |
---|---|---|
committer | Lars Knoll <[email protected]> | 2013-04-19 22:02:24 +0200 |
commit | d07ba94f799a7829d6894960e62316f6d40d4dc0 (patch) | |
tree | 9382c4fe91c199dfdb4e26bdf8b0c335068e285c /src/3rdparty/masm/wtf/OSAllocatorPosix.cpp | |
parent | 20788d8f75f38830946fea65db7e47b82fec1034 (diff) |
Some build-fixes for pedantic compilers.
Most of the change comes down to just one issue. If you write:
extern "C" { void something(); }
namespace Nowhere { extern "C" { void something() {} } }
.. then any use of something might be considered ambigous by some
compilers. This seems to be an edge-case that is not clear in the spec.
Change-Id: I90e32539d6bd35b6ecca7816349f18d7573cbd2f
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/3rdparty/masm/wtf/OSAllocatorPosix.cpp')
-rw-r--r-- | src/3rdparty/masm/wtf/OSAllocatorPosix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp index 7b2a55c6b6..d8c8e0378f 100644 --- a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp +++ b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp @@ -28,6 +28,8 @@ #if OS(UNIX) +#include <cstdlib> + #include "PageAllocation.h" #include <errno.h> #include <sys/mman.h> |