From 254cced2cd787c4b7888d33684f01bcb3895aa12 Mon Sep 17 00:00:00 2001 From: proller Date: Fri, 15 Dec 2017 18:43:47 +0300 Subject: [PATCH] Add internal compiler include dir (to fix missing stddef.h) --- dbms/src/Interpreters/Compiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbms/src/Interpreters/Compiler.cpp b/dbms/src/Interpreters/Compiler.cpp index 3e017d7be85..80a2699ff9f 100644 --- a/dbms/src/Interpreters/Compiler.cpp +++ b/dbms/src/Interpreters/Compiler.cpp @@ -229,6 +229,8 @@ void Compiler::compile( " -isystem " INTERNAL_COMPILER_HEADERS_ROOT "/usr/include/x86_64-linux-gnu/c++/*/" " -isystem " INTERNAL_COMPILER_HEADERS_ROOT "/usr/local/lib/clang/*/include/" " -isystem " INTERNAL_COMPILER_HEADERS_ROOT "/usr/lib/clang/*/include/" + " -isystem " INTERNAL_COMPILER_HEADERS_ROOT "/usr/lib/gcc/x86_64-linux-gnu/*/include/" + " -isystem " INTERNAL_COMPILER_HEADERS_ROOT "/usr/lib/gcc/x86_64-linux-gnu/*/include-fixed/" #endif " -I " INTERNAL_COMPILER_HEADERS "/dbms/src/" " -I " INTERNAL_COMPILER_HEADERS "/contrib/libcityhash/include/"