aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-02-06 15:41:00 +0100
committerLars Knoll <lars.knoll@digia.com>2013-02-06 16:47:00 +0100
commit0b34144b3f07404b49d1acab734ccbef98da27a3 (patch)
tree42986a1c21f9ddbcd2acb0cc1b87542cb7f3f3f1 /src/3rdparty
parent57d787747c8c169491b4bde2bf3d50e2c98f4035 (diff)
Include stdlib for arc4random().
Change-Id: Icf7f09d2007941cd1005e28eaf189d1265c71900 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/wtf/OSAllocatorPosix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
index b5b903b8a3..27ef02805d 100644
--- a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
+++ b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
@@ -32,6 +32,10 @@
#include <wtf/Assertions.h>
#include <wtf/UnusedParam.h>
+#if (OS(DARWIN) && CPU(X86_64))
+#include <stdlib.h>
+#endif
+
namespace WTF {
void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable, bool includesGuardPages)