commit | 8dddb3cbb047e7bb2438e767122a81130b5a7f30 | [log] [tgz] |
---|---|---|
author | Laszlo Csomor <laszlocsomor@google.com> | Thu Nov 24 14:21:30 2016 +0000 |
committer | Dmitry Lomov <dslomov@google.com> | Thu Nov 24 14:37:42 2016 +0000 |
tree | 79a3c4ff38090f4cf13aab46c6a603726772c504 | |
parent | bcab9cbf0a8473ef1d960351e2f5ca9821e0e546 [diff] |
Bazel client: fix compilation on Windows Add "#include <fcntl.h>". See https://github.com/bazelbuild/bazel/issues/2107 -- MOS_MIGRATED_REVID=140131127
diff --git a/src/main/cpp/blaze_util_windows.cc b/src/main/cpp/blaze_util_windows.cc index 962bd28..65b0699 100644 --- a/src/main/cpp/blaze_util_windows.cc +++ b/src/main/cpp/blaze_util_windows.cc
@@ -16,6 +16,7 @@ #include <limits.h> #ifndef COMPILER_MSVC +#include <fcntl.h> #include <sys/cygwin.h> #include <sys/socket.h> #include <sys/stat.h>