Browse Source

MAPREDUCE-1251. c++ utils doesn't compile. Contributed by Eli Collins. Missing patch from branch-0.20.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security@1135736 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Shvachko 14 years ago
parent
commit
2441f029b3
3 changed files with 5 additions and 0 deletions
  1. 2 0
      CHANGES.txt
  2. 2 0
      src/c++/pipes/api/hadoop/Pipes.hh
  3. 1 0
      src/c++/utils/api/hadoop/SerialUtils.hh

+ 2 - 0
CHANGES.txt

@@ -173,6 +173,8 @@ Release 0.20.204.0 - unreleased
     HDFS-1767. Namenode ignores non-initial block report from datanodes
     HDFS-1767. Namenode ignores non-initial block report from datanodes
     when in safemode during startup. (Matt Foley via suresh)
     when in safemode during startup. (Matt Foley via suresh)
 
 
+    MAPREDUCE-1251. c++ utils doesn't compile. (Eli Collins via shv)
+
 Release 0.20.203.1 - Unreleased
 Release 0.20.203.1 - Unreleased
 
 
     HADOOP-7330. Fix MetricsSourceAdapter to use the value instead of the 
     HADOOP-7330. Fix MetricsSourceAdapter to use the value instead of the 

+ 2 - 0
src/c++/pipes/api/hadoop/Pipes.hh

@@ -31,6 +31,8 @@
 #include <string>
 #include <string>
 #endif
 #endif
 
 
+#include <stdint.h>
+
 namespace HadoopPipes {
 namespace HadoopPipes {
 
 
 /**
 /**

+ 1 - 0
src/c++/utils/api/hadoop/SerialUtils.hh

@@ -19,6 +19,7 @@
 #define HADOOP_SERIAL_UTILS_HH
 #define HADOOP_SERIAL_UTILS_HH
 
 
 #include <string>
 #include <string>
+#include <stdint.h>
 
 
 namespace HadoopUtils {
 namespace HadoopUtils {