From 21d3a797944066cb0b520e372570717ab165f3c4 Mon Sep 17 00:00:00 2001 From: alesapin Date: Thu, 16 Jul 2020 14:08:26 +0300 Subject: [PATCH] Fix arcadia build for msgpack --- src/Processors/Formats/Impl/MsgPackRowInputFormat.h | 7 +++++-- src/Processors/Formats/Impl/MsgPackRowOutputFormat.h | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Processors/Formats/Impl/MsgPackRowInputFormat.h b/src/Processors/Formats/Impl/MsgPackRowInputFormat.h index add5c516771..ac44772929a 100644 --- a/src/Processors/Formats/Impl/MsgPackRowInputFormat.h +++ b/src/Processors/Formats/Impl/MsgPackRowInputFormat.h @@ -1,7 +1,10 @@ #pragma once -#include "config_formats.h" -#include "config_core.h" +#if !defined(ARCADIA_BUILD) +# include "config_formats.h" +# include "config_core.h" +#endif + #if USE_MSGPACK diff --git a/src/Processors/Formats/Impl/MsgPackRowOutputFormat.h b/src/Processors/Formats/Impl/MsgPackRowOutputFormat.h index 401fe492f56..00bdfcc21cf 100644 --- a/src/Processors/Formats/Impl/MsgPackRowOutputFormat.h +++ b/src/Processors/Formats/Impl/MsgPackRowOutputFormat.h @@ -1,7 +1,9 @@ #pragma once -#include "config_formats.h" -#include "config_core.h" +#if !defined(ARCADIA_BUILD) +# include "config_formats.h" +# include "config_core.h" +#endif #if USE_MSGPACK