Explorar o código

ZOOKEEPER-470. include unistd.h for sleep() in c tests (chris via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@796045 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar %!s(int64=16) %!d(string=hai) anos
pai
achega
27df3be388
Modificáronse 3 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      CHANGES.txt
  2. 1 0
      src/c/tests/TestClient.cc
  3. 1 0
      src/c/tests/TestClientRetry.cc

+ 2 - 0
CHANGES.txt

@@ -12,6 +12,8 @@ mahadev)
 
   ZOOKEEPER-471. update zkperl for 3.2.x branch (chris via mahadev)
 
+  ZOOKEEPER-470. include unistd.h for sleep() in c tests (chris via mahadev)
+
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
 "socket reuse" and failure to close client (phunt via mahadev)

+ 1 - 0
src/c/tests/TestClient.cc

@@ -20,6 +20,7 @@
 #include "CppAssertHelper.h"
 
 #include <stdlib.h>
+#include <unistd.h>
 #include <sys/select.h>
 
 #include "CollectionUtil.h"

+ 1 - 0
src/c/tests/TestClientRetry.cc

@@ -20,6 +20,7 @@
 #include "CppAssertHelper.h"
 
 #include <stdlib.h>
+#include <unistd.h>
 #include <sys/select.h>
 
 #include "CollectionUtil.h"