From 11dc8fa9313f49191313a724be3e8d207fcd636e Mon Sep 17 00:00:00 2001 From: kssenii Date: Wed, 11 Dec 2024 23:23:33 +0100 Subject: [PATCH] Fix fast test build --- src/Databases/Iceberg/RestCatalog.cpp | 6 ++++++ src/Databases/Iceberg/RestCatalog.h | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/Databases/Iceberg/RestCatalog.cpp b/src/Databases/Iceberg/RestCatalog.cpp index cf92c92bac3..ab51bb8a495 100644 --- a/src/Databases/Iceberg/RestCatalog.cpp +++ b/src/Databases/Iceberg/RestCatalog.cpp @@ -1,3 +1,6 @@ +#include "config.h" + +#if USE_AVRO #include #include @@ -6,6 +9,7 @@ #include #include #include +#include #include #include @@ -640,3 +644,5 @@ bool RestCatalog::getTableMetadataImpl( } } + +#endif diff --git a/src/Databases/Iceberg/RestCatalog.h b/src/Databases/Iceberg/RestCatalog.h index aab8be6ed8d..a1dbe268d0b 100644 --- a/src/Databases/Iceberg/RestCatalog.h +++ b/src/Databases/Iceberg/RestCatalog.h @@ -1,4 +1,7 @@ #pragma once +#include "config.h" + +#if USE_AVRO #include #include #include @@ -115,3 +118,5 @@ private: }; } + +#endif