mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-15 02:58:22 +00:00
add missing headers
This commit is contained in:
@@ -7,3 +7,6 @@ patches:
|
|||||||
- patch_file: "patches/0001-fix-cmake.patch"
|
- 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_description: "Fix CMakeLists: no warnings as errors, allow shared, add install target, and add profile & debug_renderer options"
|
||||||
patch_type: "conan"
|
patch_type: "conan"
|
||||||
|
- patch_file: "patches/0002-missing-headers.patch"
|
||||||
|
patch_description: "Add missing includes of standard C++ lib headers"
|
||||||
|
patch_type: "portability"
|
||||||
|
13
recipes/joltphysics/all/patches/0002-missing-headers.patch
Normal file
13
recipes/joltphysics/all/patches/0002-missing-headers.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
--- a/Jolt/Core/Core.h
|
||||||
|
+++ b/Jolt/Core/Core.h
|
||||||
|
@@ -252,6 +252,10 @@ JPH_SUPPRESS_WARNINGS_STD_BEGIN
|
||||||
|
#include <sstream>
|
||||||
|
#include <functional>
|
||||||
|
#include <algorithm>
|
||||||
|
+#include <limits>
|
||||||
|
+#include <string>
|
||||||
|
+#include <string_view>
|
||||||
|
+#include <type_traits>
|
||||||
|
JPH_SUPPRESS_WARNINGS_STD_END
|
||||||
|
#include <limits.h>
|
||||||
|
#include <float.h>
|
Reference in New Issue
Block a user