summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykola Korniichuk <mkorniichuk@luxoft.com>2019-09-04 17:09:21 +0300
committerMykola Korniichuk <mkorniichuk@luxoft.com>2019-09-04 17:09:21 +0300
commit226d61f75a79699ddef547ae247690ab14ea275f (patch)
tree6d193c5d18437b05c627071812820a8094760e8b
parente7b5c75c704f6cd577f0857e4cbe17cf6ec160fa (diff)
downloadsdl_core-fix/build_with_disabled_logger.tar.gz
Fix build with disabled logger.fix/build_with_disabled_logger
-rw-r--r--src/components/protocol_handler/CMakeLists.txt1
-rw-r--r--src/components/utils/include/utils/stl_utils.h1
-rw-r--r--tools/policy_table_validator/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/components/protocol_handler/CMakeLists.txt b/src/components/protocol_handler/CMakeLists.txt
index b4123aaf06..90dd2c9eda 100644
--- a/src/components/protocol_handler/CMakeLists.txt
+++ b/src/components/protocol_handler/CMakeLists.txt
@@ -38,6 +38,7 @@ include_directories(
${CMAKE_BINARY_DIR}/src/components/
${LOG4CXX_INCLUDE_DIRECTORY}
${BSON_INCLUDE_DIRECTORY}
+ ${BOOST_INCLUDE_DIR}
)
set(PATHS
diff --git a/src/components/utils/include/utils/stl_utils.h b/src/components/utils/include/utils/stl_utils.h
index 4a4e3d2fe8..48511e6fb3 100644
--- a/src/components/utils/include/utils/stl_utils.h
+++ b/src/components/utils/include/utils/stl_utils.h
@@ -32,6 +32,7 @@
#ifndef SRC_COMPONENTS_UTILS_INCLUDE_UTILS_STL_UTILS_H_
#define SRC_COMPONENTS_UTILS_INCLUDE_UTILS_STL_UTILS_H_
+#include <cstddef>
#include "utils/macro.h"
namespace utils {
diff --git a/tools/policy_table_validator/CMakeLists.txt b/tools/policy_table_validator/CMakeLists.txt
index d1928810f8..6b9f26f01a 100644
--- a/tools/policy_table_validator/CMakeLists.txt
+++ b/tools/policy_table_validator/CMakeLists.txt
@@ -5,6 +5,7 @@ include_directories(
${CMAKE_SOURCE_DIR}/src/components/utils/include/
${COMPONENTS_DIR}/smart_objects/include/
${JSONCPP_INCLUDE_DIRECTORY}
+ ${BOOST_INCLUDE_DIR}
)
message(STATUS "Using ${EXTENDED_POLICY} policy mode")