From 0b34144b3f07404b49d1acab734ccbef98da27a3 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 6 Feb 2013 15:41:00 +0100 Subject: [PATCH] Include stdlib for arc4random(). Change-Id: Icf7f09d2007941cd1005e28eaf189d1265c71900 Reviewed-by: Lars Knoll --- src/3rdparty/masm/wtf/OSAllocatorPosix.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp index b5b903b..27ef028 100644 --- a/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp +++ b/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp @@ -32,6 +32,10 @@ #include #include +#if (OS(DARWIN) && CPU(X86_64)) +#include +#endif + namespace WTF { void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable, bool includesGuardPages) -- 2.7.4