Included `stout/os/permissions.hpp` for the secret generator. The `os::Permissions` started being used in these files in `e1207f9d`, but not included. On Windows, no other header included it either, and so the SSL configuration of the build broke.
Review: https://reviews.apache.org/r/64258 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6cf64ed9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6cf64ed9 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6cf64ed9 Branch: refs/heads/master Commit: 6cf64ed9cec4aec50a1d62d46e5ab1575f39925d Parents: e293bd7 Author: Andrew Schwartzmeyer <[email protected]> Authored: Fri Dec 1 10:41:25 2017 -0800 Committer: Andrew Schwartzmeyer <[email protected]> Committed: Fri Dec 1 11:53:35 2017 -0800 ---------------------------------------------------------------------- src/slave/main.cpp | 2 ++ src/tests/cluster.cpp | 2 ++ 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/6cf64ed9/src/slave/main.cpp ---------------------------------------------------------------------- diff --git a/src/slave/main.cpp b/src/slave/main.cpp index abe48fd..f38fec6 100644 --- a/src/slave/main.cpp +++ b/src/slave/main.cpp @@ -42,6 +42,8 @@ #include <stout/nothing.hpp> #include <stout/os.hpp> +#include <stout/os/permissions.hpp> + #ifdef __linux__ #include <stout/proc.hpp> #endif // __linux__ http://git-wip-us.apache.org/repos/asf/mesos/blob/6cf64ed9/src/tests/cluster.cpp ---------------------------------------------------------------------- diff --git a/src/tests/cluster.cpp b/src/tests/cluster.cpp index b530133..f964bf0 100644 --- a/src/tests/cluster.cpp +++ b/src/tests/cluster.cpp @@ -58,6 +58,8 @@ #include <stout/strings.hpp> #include <stout/try.hpp> +#include <stout/os/permissions.hpp> + #ifdef __linux__ #include "linux/cgroups.hpp" #endif
