You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by sy...@apache.org on 2022/12/18 17:39:31 UTC

[zookeeper] branch branch-3.6 updated: ZOOKEEPER-4654: Fix C client test compilation error in Util.cc.

This is an automated email from the ASF dual-hosted git repository.

symat pushed a commit to branch branch-3.6
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.6 by this push:
     new 85e9bcfb5 ZOOKEEPER-4654: Fix C client test compilation error in Util.cc.
85e9bcfb5 is described below

commit 85e9bcfb5a368f296b5849156b1962697bc8e09d
Author: Chris Nauroth <cn...@apache.org>
AuthorDate: Sun Dec 18 18:37:53 2022 +0100

    ZOOKEEPER-4654: Fix C client test compilation error in Util.cc.
    
    Author: Chris Nauroth <cn...@apache.org>
    
    Reviewers: Enrico Olivelli <eo...@apache.org>, Mate Szalay-Beko <sy...@apache.org>
    
    Closes #1967 from cnauroth/ZOOKEEPER-4654
    
    (cherry picked from commit 9a43bc95aa8c95808d585b7aafb375a1e438a581)
    Signed-off-by: Mate Szalay-Beko <sy...@apache.org>
---
 zookeeper-client/zookeeper-client-c/tests/Util.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zookeeper-client/zookeeper-client-c/tests/Util.cc b/zookeeper-client/zookeeper-client-c/tests/Util.cc
index 2b9da84eb..7b49ecac5 100644
--- a/zookeeper-client/zookeeper-client-c/tests/Util.cc
+++ b/zookeeper-client/zookeeper-client-c/tests/Util.cc
@@ -16,6 +16,8 @@
  * limitations under the License.
  */
 
+#include <time.h>
+
 #include "Util.h"
 #include "string.h"