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 2015/02/26 19:13:20 UTC

mesos git commit: Fixed the broken build on OS X 10.8.5.

Repository: mesos
Updated Branches:
  refs/heads/master 0520c801b -> 53e9b9aa5


Fixed the broken build on OS X 10.8.5.

Review: https://reviews.apache.org/r/31455


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

Branch: refs/heads/master
Commit: 53e9b9aa5906463eae59824658360270e859dc2b
Parents: 0520c80
Author: Jie Yu <yu...@gmail.com>
Authored: Wed Feb 25 17:47:49 2015 -0800
Committer: Jie Yu <yu...@gmail.com>
Committed: Wed Feb 25 17:49:25 2015 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp  | 5 ++++-
 3rdparty/libprocess/3rdparty/stout/include/stout/mac.hpp | 7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/53e9b9aa/3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp
index 3293086..0cd7cb5 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp
@@ -19,7 +19,7 @@
 #endif
 #include <stdint.h>
 #include <stdio.h>
-#include <stdlib.h>
+#include <string.h>
 
 #include <arpa/inet.h>
 
@@ -29,6 +29,9 @@
 #include <net/if_types.h>
 #endif
 
+#include <sys/socket.h>
+#include <sys/types.h>
+
 #include <iostream>
 #include <string>
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/53e9b9aa/3rdparty/libprocess/3rdparty/stout/include/stout/mac.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/mac.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/mac.hpp
index bac3600..30baa65 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/mac.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/mac.hpp
@@ -19,7 +19,9 @@
 #endif
 #include <stdint.h>
 #include <stdio.h>
-#include <stdlib.h>
+#include <string.h>
+
+#include <arpa/inet.h>
 
 #ifdef __linux__
 #include <linux/if.h>
@@ -34,6 +36,9 @@
 #include <net/if_types.h>
 #endif
 
+#include <sys/socket.h>
+#include <sys/types.h>
+
 #include <iostream>
 #include <string>