aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-03-19 21:33:35 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-03-19 21:33:35 +0300
commit58a66857163454665d57848746acbb3ac8c83cad (patch)
tree756630d4995451d1eb1601ebfb3dcd638b4a275f
parentf9a385dff4be7dcc5bd4570a194521cc127f897c (diff)
downloadydb-58a66857163454665d57848746acbb3ac8c83cad.tar.gz
Standard way to include zlib iface header
This allows to use user provided zib when building projects exported from arcadia to opensource. DEVTOOLS-9036 ref:7a7994ab05782e4bfb160eb4d3102c4b98efc35c
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/zlib.cpp2
-rw-r--r--library/cpp/monlib/encode/spack/compression.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/blockcodecs/codecs/zlib/zlib.cpp b/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
index cdb556c36d..ac6f0c1e63 100644
--- a/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
+++ b/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
@@ -2,7 +2,7 @@
#include <library/cpp/blockcodecs/core/common.h>
#include <library/cpp/blockcodecs/core/register.h>
-#include <contrib/libs/zlib/zlib.h>
+#include <zlib.h>
using namespace NBlockCodecs;
diff --git a/library/cpp/monlib/encode/spack/compression.cpp b/library/cpp/monlib/encode/spack/compression.cpp
index 0d2152fc85..5dc6fef960 100644
--- a/library/cpp/monlib/encode/spack/compression.cpp
+++ b/library/cpp/monlib/encode/spack/compression.cpp
@@ -11,7 +11,7 @@
#include <contrib/libs/lz4/lz4.h>
#include <contrib/libs/xxhash/xxhash.h>
-#include <contrib/libs/zlib/zlib.h>
+#include <zlib.h>
#define ZSTD_STATIC_LINKING_ONLY
#include <contrib/libs/zstd/include/zstd.h>