aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-plugin/CMakeLists.txt5
-rw-r--r--contrib/robin-hood/robin_hood.h1
2 files changed, 2 insertions, 4 deletions
diff --git a/clang-plugin/CMakeLists.txt b/clang-plugin/CMakeLists.txt
index 80fa54eed..0d61c79d8 100644
--- a/clang-plugin/CMakeLists.txt
+++ b/clang-plugin/CMakeLists.txt
@@ -14,10 +14,7 @@ IF (ENABLE_CLANG_PLUGIN MATCHES "ON")
find_package(Clang REQUIRED)
- set(clang_libs
- clangAST
- clangBasic
- clangFrontend)
+ set(clang_libs clang)
message(STATUS "Found LibClang in: ${CLANG_INSTALL_PREFIX}")
include_directories(${CLANG_INCLUDE_DIRS})
diff --git a/contrib/robin-hood/robin_hood.h b/contrib/robin-hood/robin_hood.h
index 573607f18..9141848d7 100644
--- a/contrib/robin-hood/robin_hood.h
+++ b/contrib/robin-hood/robin_hood.h
@@ -42,6 +42,7 @@
#include <cstdlib>
#include <cstring>
#include <functional>
+#include <limits>
#include <memory> // only to support hash of smart pointers
#include <stdexcept>
#include <string>