8000 [BUILD] allow building with -DWITH_OTLP_HTTP_COMPRESSION=OFF without … · open-telemetry/opentelemetry-cpp@d059280 · GitHub
[go: up one dir, main page]

Skip to content

Commit d059280

Browse files
committed
[BUILD] allow building with -DWITH_OTLP_HTTP_COMPRESSION=OFF without zlib
1 parent f30ab92 commit d059280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/src/http/client/curl/http_client_curl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <curl/curl.h>
55
#include <curl/curlver.h>
6-
#include <zconf.h>
76
#include <atomic>
87
#include <chrono>
98
#include <cstddef>
@@ -25,6 +24,7 @@
2524
#include "opentelemetry/version.h"
2625

2726
#ifdef ENABLE_OTLP_COMPRESSION_PREVIEW
27+
# include <zconf.h>
2828
# include <zlib.h>
2929
#else
3030
# include "opentelemetry/sdk/common/global_log_handler.h"

0 commit comments

Comments
 (0)
0