summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Nauroth <cnauroth@apache.org>2022-12-18 18:37:53 +0100
committerMate Szalay-Beko <symat@apache.org>2022-12-18 18:37:53 +0100
commit9a43bc95aa8c95808d585b7aafb375a1e438a581 (patch)
tree6fe00d9732a0e8a20ad26bc953c5ea10515a4870
parent50d5722dd3342530eae4a737d9759ec5f774c84b (diff)
downloadzookeeper-9a43bc95aa8c95808d585b7aafb375a1e438a581.tar.gz
ZOOKEEPER-4654: Fix C client test compilation error in Util.cc.
Author: Chris Nauroth <cnauroth@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1967 from cnauroth/ZOOKEEPER-4654
-rw-r--r--zookeeper-client/zookeeper-client-c/tests/Util.cc2
1 files changed, 2 insertions, 0 deletions
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"