You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/02/29 02:52:02 UTC

mesos git commit: Fixed the compile issue on OSX.

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 <yu...@gmail.com>
Authored: Sun Feb 28 17:51:54 2016 -0800
Committer: Jie Yu <yu...@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;