aboutsummaryrefslogtreecommitdiffstats
path: root/community/spdlog/cassert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/spdlog/cassert.patch')
-rw-r--r--community/spdlog/cassert.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/spdlog/cassert.patch b/community/spdlog/cassert.patch
new file mode 100644
index 0000000000..18c87b816c
--- /dev/null
+++ b/community/spdlog/cassert.patch
@@ -0,0 +1,25 @@
+diff --git a/include/spdlog/details/pattern_formatter-inl.h b/include/spdlog/details/pattern_formatter-inl.h
+index 1b95eb6..a77a472 100644
+--- a/include/spdlog/details/pattern_formatter-inl.h
++++ b/include/spdlog/details/pattern_formatter-inl.h
+@@ -15,6 +15,7 @@
+
+ #include <array>
+ #include <chrono>
++#include <cassert>
+ #include <ctime>
+ #include <cctype>
+ #include <cstring>
+diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h
+index 77d0b1f..c773149 100644
+--- a/include/spdlog/details/thread_pool-inl.h
++++ b/include/spdlog/details/thread_pool-inl.h
+@@ -9,6 +9,8 @@
+
+ #include "spdlog/common.h"
+
++#include <cassert>
++
+ namespace spdlog {
+ namespace details {
+