From 398b2e9c22e3fa20fcb63d17af31d100e7f46d31 Mon Sep 17 00:00:00 2001
From: Todd Lipcon <todd@cloudera.com>
Date: Mon, 11 May 2009 14:32:42 -0700
Subject: [PATCH] HADOOP-5611-Add-some-missing-includes-to-c-code-t.patch

---
 src/c++/pipes/impl/HadoopPipes.cc |    1 +
 src/c++/utils/impl/SerialUtils.cc |    1 +
 src/c++/utils/impl/StringUtils.cc |    2 ++
 3 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/c++/pipes/impl/HadoopPipes.cc b/src/c++/pipes/impl/HadoopPipes.cc
index a32fb8b..e250730 100644
--- a/src/c++/pipes/impl/HadoopPipes.cc
+++ b/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>
diff --git a/src/c++/utils/impl/SerialUtils.cc b/src/c++/utils/impl/SerialUtils.cc
index a0b4692..03d009b 100644
--- a/src/c++/utils/impl/SerialUtils.cc
+++ b/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;
 
diff --git a/src/c++/utils/impl/StringUtils.cc b/src/c++/utils/impl/StringUtils.cc
index 6924418..0d2a878 100644
--- a/src/c++/utils/impl/StringUtils.cc
+++ b/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>
 
-- 
1.6.0.4

