1
0
Prechádzať zdrojové kódy

HADOOP-5611. Fix C++ libraries to build on Debian Lenny. Contributed by Todd Lipcon

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20@909245 13f79535-47bb-0310-9956-ffa450edef68
Christopher Douglas 15 rokov pred
rodič
commit
dfdeaca472

+ 3 - 0
CHANGES.txt

@@ -110,6 +110,9 @@ Release 0.20.2 - 2010-2-10
 
     HADOOP-6524. Contrib tests are failing Clover'ed build. (cos)
 
+    HADOOP-5611. Fix C++ libraries to build on Debian Lenny. (Todd Lipcon
+    via tomwhite)
+
 Release 0.20.1 - 2009-09-01
 
   INCOMPATIBLE CHANGES

+ 1 - 0
src/c++/pipes/impl/HadoopPipes.cc

@@ -28,6 +28,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <strings.h>
 #include <sys/socket.h>
 #include <pthread.h>

+ 1 - 0
src/c++/utils/impl/SerialUtils.cc

@@ -22,6 +22,7 @@
 #include <rpc/types.h>
 #include <rpc/xdr.h>
 #include <string>
+#include <string.h>
 
 using std::string;
 

+ 2 - 0
src/c++/utils/impl/StringUtils.cc

@@ -21,6 +21,8 @@
 #include <errno.h>
 #include <stdint.h>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <strings.h>
 #include <sys/time.h>