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:59:58 UTC

[zookeeper] 01/02: 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.4
in repository https://gitbox.apache.org/repos/asf/zookeeper.git

commit ff5d12f892e612b9b009b9af5e682743412bdbdc
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"