Skip to content

Commit f7078c6

Browse files
committed
fix async export
1 parent 2703ac0 commit f7078c6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

exporters/otlp/src/otlp_grpc_client.cc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@
2828
#include "opentelemetry/exporters/otlp/protobuf_include_suffix.h" // IWYU pragma: keep
2929
// clang-format on
3030

31+
#ifdef ENABLE_ASYNC_EXPORT
32+
# include <condition_variable>
33+
# include <cstdio>
34+
# include <mutex>
35+
# include <thread>
36+
# include <unordered_set>
37+
38+
# include "opentelemetry/common/timestamp.h"
39+
# include "opentelemetry/nostd/function_ref.h"
40+
# include "opentelemetry/nostd/string_view.h"
41+
#endif /* ENABLE_ASYNC_EXPORT */
42+
3143
namespace google
3244
{
3345
namespace protobuf

0 commit comments

Comments
 (0)