You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2014/02/25 01:43:36 UTC
[1/3] git commit: Included stdint.h in libprocess files.
Repository: mesos
Updated Branches:
refs/heads/master 20a6993e1 -> 134ae1c9d
Included stdint.h in libprocess files.
Review: https://reviews.apache.org/r/18447
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e1a0bbc4
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e1a0bbc4
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e1a0bbc4
Branch: refs/heads/master
Commit: e1a0bbc435592b51e862191ba3e6d1cf2396eaf8
Parents: b246d52
Author: Vinod Kone <vi...@twitter.com>
Authored: Mon Feb 24 15:36:59 2014 -0800
Committer: Vinod Kone <vi...@twitter.com>
Committed: Mon Feb 24 16:34:11 2014 -0800
----------------------------------------------------------------------
3rdparty/libprocess/include/process/http.hpp | 5 +++--
3rdparty/libprocess/include/process/timer.hpp | 1 +
3rdparty/libprocess/include/process/tuples/tuples.hpp | 1 +
3rdparty/libprocess/src/encoder.hpp | 2 ++
3rdparty/libprocess/src/http.cpp | 2 ++
3rdparty/libprocess/src/pid.cpp | 1 +
3rdparty/libprocess/src/process.cpp | 1 +
7 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/include/process/http.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/http.hpp b/3rdparty/libprocess/include/process/http.hpp
index 414a2b2..7f549ba 100644
--- a/3rdparty/libprocess/include/process/http.hpp
+++ b/3rdparty/libprocess/include/process/http.hpp
@@ -1,14 +1,15 @@
#ifndef __PROCESS_HTTP_HPP__
#define __PROCESS_HTTP_HPP__
+#include <limits.h>
+#include <stdint.h>
+
#include <cctype>
#include <cstdlib>
#include <iomanip>
#include <sstream>
#include <string>
-#include <limits.h>
-
#include <process/future.hpp>
#include <process/pid.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/include/process/timer.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/timer.hpp b/3rdparty/libprocess/include/process/timer.hpp
index 3400eb0..e2f5563 100644
--- a/3rdparty/libprocess/include/process/timer.hpp
+++ b/3rdparty/libprocess/include/process/timer.hpp
@@ -1,6 +1,7 @@
#ifndef __PROCESS_TIMER_HPP__
#define __PROCESS_TIMER_HPP__
+#include <stdint.h>
#include <stdlib.h> // For abort.
#include <process/timeout.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/include/process/tuples/tuples.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/tuples/tuples.hpp b/3rdparty/libprocess/include/process/tuples/tuples.hpp
index 16445fa..672ba6c 100644
--- a/3rdparty/libprocess/include/process/tuples/tuples.hpp
+++ b/3rdparty/libprocess/include/process/tuples/tuples.hpp
@@ -1,6 +1,7 @@
#ifndef __PROCESS_TUPLES_HPP__
#define __PROCESS_TUPLES_HPP__
+#include <stdint.h>
#include <stdlib.h>
#include <arpa/inet.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/src/encoder.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/encoder.hpp b/3rdparty/libprocess/src/encoder.hpp
index be6b667..4810e99 100644
--- a/3rdparty/libprocess/src/encoder.hpp
+++ b/3rdparty/libprocess/src/encoder.hpp
@@ -1,6 +1,8 @@
#ifndef __ENCODER_HPP__
#define __ENCODER_HPP__
+#include <stdint.h>
+
#include <map>
#include <sstream>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/src/http.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/http.cpp b/3rdparty/libprocess/src/http.cpp
index 804fe80..f8b93dc 100644
--- a/3rdparty/libprocess/src/http.cpp
+++ b/3rdparty/libprocess/src/http.cpp
@@ -1,5 +1,7 @@
#include <arpa/inet.h>
+#include <stdint.h>
+
#include <cstring>
#include <deque>
#include <iostream>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/src/pid.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/pid.cpp b/3rdparty/libprocess/src/pid.cpp
index becc46b..20ff25c 100644
--- a/3rdparty/libprocess/src/pid.cpp
+++ b/3rdparty/libprocess/src/pid.cpp
@@ -1,5 +1,6 @@
#include <errno.h>
#include <netdb.h>
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e1a0bbc4/3rdparty/libprocess/src/process.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/process.cpp b/3rdparty/libprocess/src/process.cpp
index f3ec750..6c6acc0 100644
--- a/3rdparty/libprocess/src/process.cpp
+++ b/3rdparty/libprocess/src/process.cpp
@@ -6,6 +6,7 @@
#include <pthread.h>
#include <signal.h>
#include <stdarg.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
[3/3] git commit: Included stdint.h in mesos files.
Posted by vi...@apache.org.
Included stdint.h in mesos files.
Review: https://reviews.apache.org/r/18442
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/134ae1c9
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/134ae1c9
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/134ae1c9
Branch: refs/heads/master
Commit: 134ae1c9d7d0f9c8fcc1ac84f84a2d7eafdd3b61
Parents: e1a0bbc
Author: Vinod Kone <vi...@twitter.com>
Authored: Mon Feb 24 15:30:01 2014 -0800
Committer: Vinod Kone <vi...@twitter.com>
Committed: Mon Feb 24 16:34:12 2014 -0800
----------------------------------------------------------------------
src/common/resources.cpp | 2 ++
src/common/values.cpp | 2 ++
src/java/jni/org_apache_mesos_Log.cpp | 1 +
src/linux/cgroups.cpp | 1 +
src/local/main.cpp | 2 ++
src/log/catchup.cpp | 2 ++
src/log/consensus.cpp | 1 +
src/log/coordinator.cpp | 2 ++
src/log/leveldb.cpp | 2 ++
src/log/leveldb.hpp | 2 ++
src/log/log.cpp | 2 ++
src/log/log.hpp | 2 ++
src/log/recover.cpp | 1 +
src/log/replica.cpp | 2 ++
src/log/tool/read.cpp | 2 ++
src/log/tool/read.hpp | 2 ++
src/log/tool/replica.hpp | 2 ++
src/master/constants.cpp | 2 ++
src/master/main.cpp | 2 ++
src/master/master.cpp | 2 ++
src/master/master.hpp | 2 ++
src/slave/constants.cpp | 2 ++
src/slave/containerizer/isolators/cgroups/cpushare.cpp | 2 ++
src/slave/containerizer/isolators/cgroups/mem.cpp | 2 ++
src/slave/containerizer/isolators/cgroups/mem.hpp | 2 ++
src/slave/main.cpp | 2 ++
src/slave/slave.hpp | 2 ++
src/tests/fault_tolerance_tests.cpp | 1 +
src/tests/log_tests.cpp | 2 ++
src/tests/slave_recovery_tests.cpp | 1 +
src/tests/sorter_tests.cpp | 1 +
31 files changed, 55 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/common/resources.cpp
----------------------------------------------------------------------
diff --git a/src/common/resources.cpp b/src/common/resources.cpp
index 756f933..61c5bda 100644
--- a/src/common/resources.cpp
+++ b/src/common/resources.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <iostream>
#include <vector>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/common/values.cpp
----------------------------------------------------------------------
diff --git a/src/common/values.cpp b/src/common/values.cpp
index ce26119..15583fd 100644
--- a/src/common/values.cpp
+++ b/src/common/values.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <iostream>
#include <vector>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/java/jni/org_apache_mesos_Log.cpp
----------------------------------------------------------------------
diff --git a/src/java/jni/org_apache_mesos_Log.cpp b/src/java/jni/org_apache_mesos_Log.cpp
index 36c636d..13096fe 100644
--- a/src/java/jni/org_apache_mesos_Log.cpp
+++ b/src/java/jni/org_apache_mesos_Log.cpp
@@ -17,6 +17,7 @@
*/
#include <jni.h>
+#include <stdint.h>
#include <process/timeout.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/linux/cgroups.cpp
----------------------------------------------------------------------
diff --git a/src/linux/cgroups.cpp b/src/linux/cgroups.cpp
index baeb35d..4bf7f26 100644
--- a/src/linux/cgroups.cpp
+++ b/src/linux/cgroups.cpp
@@ -19,6 +19,7 @@
#include <errno.h>
#include <fts.h>
#include <signal.h>
+#include <stdint.h>
#include <unistd.h>
#include <sys/syscall.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/local/main.cpp
----------------------------------------------------------------------
diff --git a/src/local/main.cpp b/src/local/main.cpp
index da431b7..a641b9e 100644
--- a/src/local/main.cpp
+++ b/src/local/main.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <iostream>
#include <string>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/catchup.cpp
----------------------------------------------------------------------
diff --git a/src/log/catchup.cpp b/src/log/catchup.cpp
index bcad278..dae4619 100644
--- a/src/log/catchup.cpp
+++ b/src/log/catchup.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <list>
#include <process/collect.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/consensus.cpp
----------------------------------------------------------------------
diff --git a/src/log/consensus.cpp b/src/log/consensus.cpp
index 580db20..59f80d0 100644
--- a/src/log/consensus.cpp
+++ b/src/log/consensus.cpp
@@ -16,6 +16,7 @@
* limitations under the License.
*/
+#include <stdint.h>
#include <stdlib.h>
#include <set>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/coordinator.cpp
----------------------------------------------------------------------
diff --git a/src/log/coordinator.cpp b/src/log/coordinator.cpp
index 96ab121..52e8305 100644
--- a/src/log/coordinator.cpp
+++ b/src/log/coordinator.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <algorithm>
#include <process/defer.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/leveldb.cpp
----------------------------------------------------------------------
diff --git a/src/log/leveldb.cpp b/src/log/leveldb.cpp
index 4cc39d0..f8c0f65 100644
--- a/src/log/leveldb.cpp
+++ b/src/log/leveldb.cpp
@@ -21,6 +21,8 @@
#include <leveldb/comparator.h>
#include <leveldb/write_batch.h>
+#include <stdint.h>
+
#include <stout/check.hpp>
#include <stout/error.hpp>
#include <stout/numify.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/leveldb.hpp
----------------------------------------------------------------------
diff --git a/src/log/leveldb.hpp b/src/log/leveldb.hpp
index 1df4173..40a6d6f 100644
--- a/src/log/leveldb.hpp
+++ b/src/log/leveldb.hpp
@@ -21,6 +21,8 @@
#include <leveldb/db.h>
+#include <stdint.h>
+
#include <stout/option.hpp>
#include "log/storage.hpp"
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/log.cpp
----------------------------------------------------------------------
diff --git a/src/log/log.cpp b/src/log/log.cpp
index 62dc928..7f855f2 100644
--- a/src/log/log.cpp
+++ b/src/log/log.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <process/defer.hpp>
#include <process/dispatch.hpp>
#include <process/id.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/log.hpp
----------------------------------------------------------------------
diff --git a/src/log/log.hpp b/src/log/log.hpp
index 1f0b30d..628a4b8 100644
--- a/src/log/log.hpp
+++ b/src/log/log.hpp
@@ -19,6 +19,8 @@
#ifndef __LOG_HPP__
#define __LOG_HPP__
+#include <stdint.h>
+
#include <list>
#include <set>
#include <string>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/recover.cpp
----------------------------------------------------------------------
diff --git a/src/log/recover.cpp b/src/log/recover.cpp
index 1841f1f..3403b47 100644
--- a/src/log/recover.cpp
+++ b/src/log/recover.cpp
@@ -16,6 +16,7 @@
* limitations under the License.
*/
+#include <stdint.h>
#include <stdlib.h>
#include <set>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/replica.cpp
----------------------------------------------------------------------
diff --git a/src/log/replica.cpp b/src/log/replica.cpp
index 746d6c3..1f1a945 100644
--- a/src/log/replica.cpp
+++ b/src/log/replica.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <algorithm>
#include <boost/icl/interval.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/tool/read.cpp
----------------------------------------------------------------------
diff --git a/src/log/tool/read.cpp b/src/log/tool/read.cpp
index ab6068d..d141385 100644
--- a/src/log/tool/read.cpp
+++ b/src/log/tool/read.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <iostream>
#include <sstream>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/tool/read.hpp
----------------------------------------------------------------------
diff --git a/src/log/tool/read.hpp b/src/log/tool/read.hpp
index 74faec0..9a6971b 100644
--- a/src/log/tool/read.hpp
+++ b/src/log/tool/read.hpp
@@ -19,6 +19,8 @@
#ifndef __LOG_TOOL_READ_HPP__
#define __LOG_TOOL_READ_HPP__
+#include <stdint.h>
+
#include <stout/duration.hpp>
#include <stout/flags.hpp>
#include <stout/option.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/log/tool/replica.hpp
----------------------------------------------------------------------
diff --git a/src/log/tool/replica.hpp b/src/log/tool/replica.hpp
index b433348..7140c7e 100644
--- a/src/log/tool/replica.hpp
+++ b/src/log/tool/replica.hpp
@@ -19,6 +19,8 @@
#ifndef __LOG_TOOL_REPLICA_HPP__
#define __LOG_TOOL_REPLICA_HPP__
+#include <stdint.h>
+
#include <stout/flags.hpp>
#include <stout/option.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/master/constants.cpp
----------------------------------------------------------------------
diff --git a/src/master/constants.cpp b/src/master/constants.cpp
index 8a48bbb..1854883 100644
--- a/src/master/constants.cpp
+++ b/src/master/constants.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <string>
#include <stout/bytes.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/master/main.cpp
----------------------------------------------------------------------
diff --git a/src/master/main.cpp b/src/master/main.cpp
index 723d534..4c74a1b 100644
--- a/src/master/main.cpp
+++ b/src/master/main.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <mesos/mesos.hpp>
#include <stout/check.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 6f294ba..2e86a19 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <fstream>
#include <iomanip>
#include <list>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/master/master.hpp
----------------------------------------------------------------------
diff --git a/src/master/master.hpp b/src/master/master.hpp
index 4fcdfb0..72525d2 100644
--- a/src/master/master.hpp
+++ b/src/master/master.hpp
@@ -19,6 +19,8 @@
#ifndef __MASTER_HPP__
#define __MASTER_HPP__
+#include <stdint.h>
+
#include <list>
#include <string>
#include <vector>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/slave/constants.cpp
----------------------------------------------------------------------
diff --git a/src/slave/constants.cpp b/src/slave/constants.cpp
index 1226485..3fb0cde 100644
--- a/src/slave/constants.cpp
+++ b/src/slave/constants.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include "slave/constants.hpp"
namespace mesos {
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/slave/containerizer/isolators/cgroups/cpushare.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/isolators/cgroups/cpushare.cpp b/src/slave/containerizer/isolators/cgroups/cpushare.cpp
index b4dbb99..160e8fe 100644
--- a/src/slave/containerizer/isolators/cgroups/cpushare.cpp
+++ b/src/slave/containerizer/isolators/cgroups/cpushare.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <vector>
#include <mesos/values.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/slave/containerizer/isolators/cgroups/mem.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/isolators/cgroups/mem.cpp b/src/slave/containerizer/isolators/cgroups/mem.cpp
index 7118f89..9e9c55e 100644
--- a/src/slave/containerizer/isolators/cgroups/mem.cpp
+++ b/src/slave/containerizer/isolators/cgroups/mem.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <vector>
#include <mesos/resources.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/slave/containerizer/isolators/cgroups/mem.hpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/isolators/cgroups/mem.hpp b/src/slave/containerizer/isolators/cgroups/mem.hpp
index aabb4df..ffd81b3 100644
--- a/src/slave/containerizer/isolators/cgroups/mem.hpp
+++ b/src/slave/containerizer/isolators/cgroups/mem.hpp
@@ -19,6 +19,8 @@
#ifndef __MEM_ISOLATOR_HPP__
#define __MEM_ISOLATOR_HPP__
+#include <stdint.h>
+
#include <mesos/resources.hpp>
#include <process/future.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/slave/main.cpp
----------------------------------------------------------------------
diff --git a/src/slave/main.cpp b/src/slave/main.cpp
index 8aba4ed..a498a6a 100644
--- a/src/slave/main.cpp
+++ b/src/slave/main.cpp
@@ -16,6 +16,8 @@
* limitations under the License.
*/
+#include <stdint.h>
+
#include <mesos/mesos.hpp>
#include <stout/check.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/slave/slave.hpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.hpp b/src/slave/slave.hpp
index 6fa0556..01b80df 100644
--- a/src/slave/slave.hpp
+++ b/src/slave/slave.hpp
@@ -19,6 +19,8 @@
#ifndef __SLAVE_HPP__
#define __SLAVE_HPP__
+#include <stdint.h>
+
#include <list>
#include <string>
#include <vector>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/tests/fault_tolerance_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/fault_tolerance_tests.cpp b/src/tests/fault_tolerance_tests.cpp
index b0711cf..59632b0 100644
--- a/src/tests/fault_tolerance_tests.cpp
+++ b/src/tests/fault_tolerance_tests.cpp
@@ -16,6 +16,7 @@
* limitations under the License.
*/
+#include <stdint.h>
#include <unistd.h>
#include <gmock/gmock.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/tests/log_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/log_tests.cpp b/src/tests/log_tests.cpp
index 2613e41..1e59b24 100644
--- a/src/tests/log_tests.cpp
+++ b/src/tests/log_tests.cpp
@@ -18,6 +18,8 @@
#include <gmock/gmock.h>
+#include <stdint.h>
+
#include <list>
#include <set>
#include <string>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/tests/slave_recovery_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/slave_recovery_tests.cpp b/src/tests/slave_recovery_tests.cpp
index 0fc256b..40a9599 100644
--- a/src/tests/slave_recovery_tests.cpp
+++ b/src/tests/slave_recovery_tests.cpp
@@ -16,6 +16,7 @@
* limitations under the License.
*/
+#include <stdint.h>
#include <unistd.h>
#include <gtest/gtest.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/134ae1c9/src/tests/sorter_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/sorter_tests.cpp b/src/tests/sorter_tests.cpp
index 0093369..0516ab5 100644
--- a/src/tests/sorter_tests.cpp
+++ b/src/tests/sorter_tests.cpp
@@ -17,6 +17,7 @@
*/
#include <stdarg.h>
+#include <stdint.h>
#include <gmock/gmock.h>
[2/3] git commit: Included stdint.h in stout files.
Posted by vi...@apache.org.
Included stdint.h in stout files.
Review: https://reviews.apache.org/r/18446
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b246d524
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b246d524
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b246d524
Branch: refs/heads/master
Commit: b246d524580c1a1ac5aafd9fa8d478bafcc7c31b
Parents: 20a6993
Author: Vinod Kone <vi...@twitter.com>
Authored: Mon Feb 24 15:29:25 2014 -0800
Committer: Vinod Kone <vi...@twitter.com>
Committed: Mon Feb 24 16:34:11 2014 -0800
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp | 1 +
3rdparty/libprocess/3rdparty/stout/include/stout/stopwatch.hpp | 1 +
3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp | 2 ++
3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp | 2 ++
4 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/b246d524/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
index a0e6af8..b3d46d6 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp
@@ -15,6 +15,7 @@
#define __STOUT_NET_HPP__
#include <netdb.h>
+#include <stdint.h>
#include <stdio.h>
#include <sys/param.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b246d524/3rdparty/libprocess/3rdparty/stout/include/stout/stopwatch.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/stopwatch.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/stopwatch.hpp
index 7b22cb6..6e9af29 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/stopwatch.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/stopwatch.hpp
@@ -14,6 +14,7 @@
#ifndef __STOUT_STOPWATCH_HPP__
#define __STOUT_STOPWATCH_HPP__
+#include <stdint.h>
#include <time.h>
#ifdef __MACH__
http://git-wip-us.apache.org/repos/asf/mesos/blob/b246d524/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
index 267b5f9..5b7cbb9 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
@@ -2,6 +2,8 @@
#include <gmock/gmock.h>
+#include <stdint.h>
+
#include <sys/stat.h>
#include <string>
http://git-wip-us.apache.org/repos/asf/mesos/blob/b246d524/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
index e061155..1babc18 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
@@ -2,6 +2,8 @@
#include <gtest/gtest.h>
+#include <stdint.h>
+
#ifndef __linux__
#include <sys/time.h> // For gettimeofday.
#endif