aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-04-19 21:24:46 +0200
committerLars Knoll <lars.knoll@digia.com>2013-04-19 22:02:24 +0200
commitd07ba94f799a7829d6894960e62316f6d40d4dc0 (patch)
tree9382c4fe91c199dfdb4e26bdf8b0c335068e285c /src/3rdparty
parent20788d8f75f38830946fea65db7e47b82fec1034 (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 <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/wtf/OSAllocatorPosix.cpp2
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>