You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2015/12/11 22:56:31 UTC
[2/2] mesos git commit: Windows: Included headers to make
`stout/windows.hpp` standalone.
Windows: Included headers to make `stout/windows.hpp` standalone.
Review: https://reviews.apache.org/r/39620
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5f67bdee
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5f67bdee
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5f67bdee
Branch: refs/heads/master
Commit: 5f67bdee4d56f92f9d53892c3037e225aec7d661
Parents: 5a5bd05
Author: Alex Clemmer <cl...@gmail.com>
Authored: Fri Dec 11 13:46:10 2015 -0800
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Fri Dec 11 13:56:21 2015 -0800
----------------------------------------------------------------------
.../libprocess/3rdparty/stout/include/stout/windows.hpp | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/5f67bdee/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
index 9f84673..43c85f5 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/windows.hpp
@@ -14,9 +14,12 @@
#define __STOUT_WINDOWS_HPP__
-#include <direct.h> // For `_mkdir`.
-#include <fcntl.h> // For file access flags like `_O_CREAT`.
-#include <io.h> // For `_read`, `_write`.
+#include <direct.h> // For `_mkdir`.
+#include <fcntl.h> // For file access flags like `_O_CREAT`.
+#include <io.h> // For `_read`, `_write`.
+#include <stdlib.h> // For `_PATH_MAX`.
+
+#include <sys/stat.h> // For permissions flags.
#include <BaseTsd.h> // For `SSIZE_T`.
// We include `Winsock2.h` before `Windows.h` explicitly to avoid symbold