summaryrefslogtreecommitdiff
path: root/dev-cpp/sol2/files/sol2-3.2.2-gcc11.patch
blob: cc8c6bb1b4f7721dae026486a4250ec400730492 (plain)
1
2
3
4
5
6
7
8
9
10
Add missing include needed for tests (and possibly consumers) with gcc11.

Fixed upstream in:
https://github.com/ThePhD/sol2/commit/e5e6466e09b632677d24a8f204d6a0ea0a8862b1
--- a/include/sol/stack_core.hpp
+++ b/include/sol/stack_core.hpp
@@ -42,2 +42,3 @@
 #include <string>
+#include <limits>
 #include <algorithm>