mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ji...@apache.org
Subject mesos git commit: Fixed the compile issue on OSX.
Date Mon, 29 Feb 2016 01:52:02 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 465df71e8 -> d5fee86af


Fixed the compile issue on OSX.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d5fee86a
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d5fee86a
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d5fee86a

Branch: refs/heads/master
Commit: d5fee86afba348fd245791e269e7e65b9d909dac
Parents: 465df71
Author: Jie Yu <yujie.jay@gmail.com>
Authored: Sun Feb 28 17:51:54 2016 -0800
Committer: Jie Yu <yujie.jay@gmail.com>
Committed: Sun Feb 28 17:51:54 2016 -0800

----------------------------------------------------------------------
 src/slave/containerizer/mesos/provisioner/backend.cpp | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d5fee86a/src/slave/containerizer/mesos/provisioner/backend.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/provisioner/backend.cpp b/src/slave/containerizer/mesos/provisioner/backend.cpp
index ae66324..5565254 100644
--- a/src/slave/containerizer/mesos/provisioner/backend.cpp
+++ b/src/slave/containerizer/mesos/provisioner/backend.cpp
@@ -18,13 +18,19 @@
 
 #include <stout/os.hpp>
 
+#ifdef __linux__
 #include "linux/fs.hpp"
+#endif
 
 #include "slave/containerizer/mesos/provisioner/backend.hpp"
 
+#ifdef __linux__
 #include "slave/containerizer/mesos/provisioner/backends/bind.hpp"
+#endif
 #include "slave/containerizer/mesos/provisioner/backends/copy.hpp"
+#ifdef __linux__
 #include "slave/containerizer/mesos/provisioner/backends/overlay.hpp"
+#endif
 
 using namespace process;
 


Mime
View raw message