A recent change to IceCompilerServer.cpp was added to allow fatal
errors to return exit status zero. However, this code called ::write
(a C function) that is not defined when compiling with MSC. This CL
adds includes to fix this problem.
BUG=None
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/
1379613005 .
#include <iostream>
#include <thread>
+#if defined(HAVE_UNISTD_H)
+# include <unistd.h>
+#endif
+#if defined(_MSC_VER)
+# include <io.h>
+# include <fcntl.h>
+#endif
+
namespace Ice {
namespace {