diff --git a/test/speed/pool.cpp b/test/speed/pool.cpp index 7e1459bd..3bf34705 100644 --- a/test/speed/pool.cpp +++ b/test/speed/pool.cpp @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/triqs/mc_tools/mc_generic.hpp b/triqs/mc_tools/mc_generic.hpp index ea2433eb..dae2cf98 100644 --- a/triqs/mc_tools/mc_generic.hpp +++ b/triqs/mc_tools/mc_generic.hpp @@ -20,6 +20,7 @@ ******************************************************************************/ #ifndef TRIQS_TOOLS_MC_GENERIC_H #define TRIQS_TOOLS_MC_GENERIC_H +#include #include #include #include diff --git a/triqs/mc_tools/random_generator.hpp b/triqs/mc_tools/random_generator.hpp index f256fe5f..79107f13 100644 --- a/triqs/mc_tools/random_generator.hpp +++ b/triqs/mc_tools/random_generator.hpp @@ -1,4 +1,3 @@ - /******************************************************************************* * * TRIQS: a Toolbox for Research in Interacting Quantum Systems @@ -22,7 +21,7 @@ #ifndef POLYMORPH_RANDOM_GENERATOR_H #define POLYMORPH_RANDOM_GENERATOR_H - +#include #include #include "../utility/exceptions.hpp" #include "./generator.hpp" diff --git a/triqs/utility/first_include.hpp b/triqs/utility/first_include.hpp index 57e152be..e2206316 100644 --- a/triqs/utility/first_include.hpp +++ b/triqs/utility/first_include.hpp @@ -21,6 +21,12 @@ #ifndef TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H #define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H +// clang but not libc++ +#if defined(__clang__) and !defined(_LIBCPP_VERSION) +// workaround an error in gcc stdlib +typedef long double max_align_t; +#endif + #ifdef TRIQS_BUILDING_LIBRARY #include #else diff --git a/triqs/utility/stack_trace.hpp b/triqs/utility/stack_trace.hpp index 62626e49..3368d96a 100644 --- a/triqs/utility/stack_trace.hpp +++ b/triqs/utility/stack_trace.hpp @@ -22,6 +22,7 @@ #ifndef TRIQS_UTILITY_TRACE_H #define TRIQS_UTILITY_TRACE_H +#include #include #include