Repository: mesos Updated Branches: refs/heads/1.3.x b8ab064ba -> f9f7522d5
Fixed compilation error on recent glibc for device whitelist. Review: https://reviews.apache.org/r/58944/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f9f7522d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f9f7522d Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f9f7522d Branch: refs/heads/1.3.x Commit: f9f7522d5574afbdbe12506700a6d036cacecf7b Parents: b8ab064 Author: Zhongbo Tian <[email protected]> Authored: Wed May 3 14:00:37 2017 +0800 Committer: Haosdent Huang <[email protected]> Committed: Wed May 3 14:13:28 2017 +0800 ---------------------------------------------------------------------- .../containerizer/mesos/isolators/cgroups/subsystems/devices.cpp | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/f9f7522d/src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp ---------------------------------------------------------------------- diff --git a/src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp b/src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp index 3055b7d..e995ff4 100644 --- a/src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp +++ b/src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp @@ -15,6 +15,7 @@ // limitations under the License. #include <sys/stat.h> +#include <sys/sysmacros.h> #include <process/id.hpp>
