Cleaned up header includes in stout. Review: https://reviews.apache.org/r/52086/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4df496aa Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4df496aa Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/4df496aa Branch: refs/heads/master Commit: 4df496aaf9e10b74d90d2a1c44285e8826cd40c8 Parents: f86ff5c Author: Neil Conway <neil.con...@gmail.com> Authored: Thu Sep 22 16:31:37 2016 +0200 Committer: Alexander Rukletsov <al...@apache.org> Committed: Thu Sep 22 16:31:37 2016 +0200 ---------------------------------------------------------------------- 3rdparty/stout/include/stout/os/mktemp.hpp | 3 +++ 3rdparty/stout/include/stout/os/posix/mkdtemp.hpp | 6 ++++++ 3rdparty/stout/include/stout/os/raw/argv.hpp | 2 ++ 3 files changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/4df496aa/3rdparty/stout/include/stout/os/mktemp.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/mktemp.hpp b/3rdparty/stout/include/stout/os/mktemp.hpp index 0b7fe73..2dfd356 100644 --- a/3rdparty/stout/include/stout/os/mktemp.hpp +++ b/3rdparty/stout/include/stout/os/mktemp.hpp @@ -13,6 +13,9 @@ #ifndef __STOUT_OS_MKTEMP_HPP__ #define __STOUT_OS_MKTEMP_HPP__ +#include <stdlib.h> +#include <string.h> + #include <string> #include <stout/error.hpp> http://git-wip-us.apache.org/repos/asf/mesos/blob/4df496aa/3rdparty/stout/include/stout/os/posix/mkdtemp.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/posix/mkdtemp.hpp b/3rdparty/stout/include/stout/os/posix/mkdtemp.hpp index 4edfc6b..90866db 100644 --- a/3rdparty/stout/include/stout/os/posix/mkdtemp.hpp +++ b/3rdparty/stout/include/stout/os/posix/mkdtemp.hpp @@ -17,6 +17,12 @@ #ifndef __STOUT_OS_POSIX_MKDTEMP_HPP__ #define __STOUT_OS_POSIX_MKDTEMP_HPP__ +#include <stdlib.h> +#include <string.h> + +#include <string> + +#include <stout/error.hpp> #include <stout/try.hpp> http://git-wip-us.apache.org/repos/asf/mesos/blob/4df496aa/3rdparty/stout/include/stout/os/raw/argv.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/raw/argv.hpp b/3rdparty/stout/include/stout/os/raw/argv.hpp index 479096a..58e5ee2 100644 --- a/3rdparty/stout/include/stout/os/raw/argv.hpp +++ b/3rdparty/stout/include/stout/os/raw/argv.hpp @@ -13,6 +13,8 @@ #ifndef __STOUT_OS_RAW_ARGV_HPP__ #define __STOUT_OS_RAW_ARGV_HPP__ +#include <string.h> + #include <string> #include <vector>