From 0b8713c80cc4f34524f0ade733e3e3c3cdc352a0 Mon Sep 17 00:00:00 2001 From: Sergej Tatarincev Date: Mon, 18 Feb 2013 09:12:39 +0200 Subject: [PATCH] Make ScriptingCore.cpp compile with C++11 on iOS When compiling with clang -stdlib=libc++ -std=c++11, write, read, and close functions are part of the unistd.h header file. --- scripting/javascript/bindings/ScriptingCore.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scripting/javascript/bindings/ScriptingCore.cpp b/scripting/javascript/bindings/ScriptingCore.cpp index d63cfe5477..edae8db046 100644 --- a/scripting/javascript/bindings/ScriptingCore.cpp +++ b/scripting/javascript/bindings/ScriptingCore.cpp @@ -25,6 +25,7 @@ #include #else #include +#include #include #endif #include