diff --git a/recipes/joltphysics/all/conandata.yml b/recipes/joltphysics/all/conandata.yml index 7c5580239b..01bf7c69ea 100644 --- a/recipes/joltphysics/all/conandata.yml +++ b/recipes/joltphysics/all/conandata.yml @@ -7,3 +7,6 @@ patches: - patch_file: "patches/0001-fix-cmake.patch" patch_description: "Fix CMakeLists: no warnings as errors, allow shared, add install target, and add profile & debug_renderer options" patch_type: "conan" + - patch_file: "patches/0002-missing-headers.patch" + patch_description: "Add missing includes of standard C++ lib headers" + patch_type: "portability" diff --git a/recipes/joltphysics/all/patches/0002-missing-headers.patch b/recipes/joltphysics/all/patches/0002-missing-headers.patch new file mode 100644 index 0000000000..5dddc3506a --- /dev/null +++ b/recipes/joltphysics/all/patches/0002-missing-headers.patch @@ -0,0 +1,13 @@ +--- a/Jolt/Core/Core.h ++++ b/Jolt/Core/Core.h +@@ -252,6 +252,10 @@ JPH_SUPPRESS_WARNINGS_STD_BEGIN + #include + #include + #include ++#include ++#include ++#include ++#include + JPH_SUPPRESS_WARNINGS_STD_END + #include + #include