Przeglądaj źródła

MAPREDUCE-4383. HadoopPipes.cc needs to include unistd.h. Contributed by Andy Isaacson

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1355555 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 13 lat temu
rodzic
commit
cd9ce99740

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -196,6 +196,9 @@ Branch-2 ( Unreleased changes )
 
     MAPREDUCE-4376. TestClusterMRNotification times out (Kihwal Lee via bobby)
 
+    MAPREDUCE-4383. HadoopPipes.cc needs to include unistd.h.
+    (Andy Isaacson via eli)
+
 Release 2.0.0-alpha - 05-23-2012
 
   INCOMPATIBLE CHANGES

+ 1 - 0
hadoop-tools/hadoop-pipes/src/main/native/pipes/impl/HadoopPipes.cc

@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <strings.h>
+#include <unistd.h>
 #include <sys/socket.h>
 #include <pthread.h>
 #include <iostream>