From 18044995ba3856a950a8f0a46f436ec47feb95a2 Mon Sep 17 00:00:00 2001 From: proller Date: Tue, 28 Aug 2018 22:36:27 +0300 Subject: [PATCH] Fix includes --- dbms/src/Columns/ColumnUnique.h | 4 ++++ dbms/src/Columns/ReverseIndex.h | 2 +- dbms/src/Common/ThreadProfileEvents.h | 2 +- utils/check_include.sh | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dbms/src/Columns/ColumnUnique.h b/dbms/src/Columns/ColumnUnique.h index dbed6ef499f..fbf0be07175 100644 --- a/dbms/src/Columns/ColumnUnique.h +++ b/dbms/src/Columns/ColumnUnique.h @@ -16,6 +16,10 @@ namespace DB { +namespace ErrorCodes +{ + extern const int ILLEGAL_COLUMN; +} template class ColumnUnique final : public COWPtrHelper> diff --git a/dbms/src/Columns/ReverseIndex.h b/dbms/src/Columns/ReverseIndex.h index 0a7cc5b935b..d5c157ee877 100644 --- a/dbms/src/Columns/ReverseIndex.h +++ b/dbms/src/Columns/ReverseIndex.h @@ -3,8 +3,8 @@ #include #include #include - #include +#include #include namespace DB diff --git a/dbms/src/Common/ThreadProfileEvents.h b/dbms/src/Common/ThreadProfileEvents.h index 23a414d2d05..951125add4e 100644 --- a/dbms/src/Common/ThreadProfileEvents.h +++ b/dbms/src/Common/ThreadProfileEvents.h @@ -1,7 +1,7 @@ #pragma once +#include #include - #include #include #include diff --git a/utils/check_include.sh b/utils/check_include.sh index fa207d482fc..446930b90a8 100755 --- a/utils/check_include.sh +++ b/utils/check_include.sh @@ -34,6 +34,7 @@ inc="-I. \ -I${BUILD_DIR}/contrib/llvm/llvm/include \ -I./contrib/libbtrie/include \ -I./contrib/libpcg-random/include \ +-I./contrib/capnproto/c++/src \ -I./libs/libmysqlxx/include \ -I./libs/libcommon/include \ -I${BUILD_DIR}/libs/libcommon/include \