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:38:46 UTC

[zookeeper] branch branch-3.8 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.8
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


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

commit 790bb95f16b0c69a3f6150ff7377ed2f5ade779f
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"