diff --git a/bindings/python/pyslang.h b/bindings/python/pyslang.h index caea47766..bf3e31f32 100644 --- a/bindings/python/pyslang.h +++ b/bindings/python/pyslang.h @@ -167,6 +167,7 @@ struct type_caster> { std::span value; }; +#ifdef SLANG_USE_BOOST // Convert between flat_hash_map and python dict. template struct type_caster> @@ -176,6 +177,7 @@ struct type_caster> template struct type_caster> : set_caster, Key> {}; +#endif template class type_caster> { diff --git a/source/numeric/Time.cpp b/source/numeric/Time.cpp index 0427eac7e..e6f3c3d87 100644 --- a/source/numeric/Time.cpp +++ b/source/numeric/Time.cpp @@ -7,6 +7,7 @@ //------------------------------------------------------------------------------ #include "slang/numeric/Time.h" +#include #include #include