فهرست منبع

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

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1355557 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 13 سال پیش
والد
کامیت
4a5591ebe1
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 3 0
      hadoop-mapreduce-project/CHANGES.txt
  2. 1 0
      hadoop-tools/hadoop-pipes/src/main/native/pipes/impl/HadoopPipes.cc

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

@@ -73,6 +73,9 @@ Release 2.0.1-alpha - UNRELEASED
 
     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>