Updated mesos containerizer to use new 'stout/wait.hpp' header. Review: https://reviews.apache.org/r/52706/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/78f1ea32 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/78f1ea32 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/78f1ea32 Branch: refs/heads/master Commit: 78f1ea321fc7fcea0cdb9334e0336d37f6672a1f Parents: fa56d04 Author: Kevin Klues <klue...@gmail.com> Authored: Wed Oct 12 22:34:24 2016 -0700 Committer: Jie Yu <yujie....@gmail.com> Committed: Wed Oct 12 22:34:24 2016 -0700 ---------------------------------------------------------------------- src/slave/containerizer/mesos/containerizer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/78f1ea32/src/slave/containerizer/mesos/containerizer.cpp ---------------------------------------------------------------------- diff --git a/src/slave/containerizer/mesos/containerizer.cpp b/src/slave/containerizer/mesos/containerizer.cpp index f5a4858..cc9e2bc 100644 --- a/src/slave/containerizer/mesos/containerizer.cpp +++ b/src/slave/containerizer/mesos/containerizer.cpp @@ -14,10 +14,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef __WINDOWS__ -#include <sys/wait.h> -#endif // __WINDOWS__ - #include <set> #include <mesos/module/isolator.hpp> @@ -44,6 +40,8 @@ #include <stout/strings.hpp> #include <stout/unreachable.hpp> +#include <stout/os/wait.hpp> + #include "common/protobuf_utils.hpp" #include "hook/manager.hpp"