Skip to content

Commit 27fc230

Browse files
committed
fix(client-cpp): include ctime for std::tm in Common.h
Fixes Linux CI build where convertToTimestamp/int32ToDate declarations require std::tm from <ctime> (C++11).
1 parent 2f175f3 commit 27fc230

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • iotdb-client/client-cpp/src/include

‎iotdb-client/client-cpp/src/include/Common.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#define IOTDB_COMMON_H
2121

2222
#include <cstdint>
23+
#include <ctime>
2324
#include <exception>
2425
#include <map>
2526
#include <string>

0 commit comments

Comments
 (0)