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.
This commit is contained in:
Sergej Tatarincev 2013-02-18 09:12:39 +02:00
parent 640dbf41ea
commit 0b8713c80c
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <WS2tcpip.h>
#else
#include <sys/socket.h>
#include <unistd.h>
#include <netdb.h>
#endif
#include <pthread.h>