summaryrefslogtreecommitdiff
blob: 13adad906c0d06194f3aa7240ac22a636a61912c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 427e814ebcfd2e55e1c18531b7e4aa9d6a1ca6fc Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Tue, 9 Feb 2021 09:28:23 +0100
Subject: [PATCH] Fix build with GCC 11

Starting with GCC 11, the  'limits' header is not included transitively anymore.
---
 core/src/Pattern.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/Pattern.h b/core/src/Pattern.h
index 4bbe6d26..c4a3f7c5 100644
--- a/core/src/Pattern.h
+++ b/core/src/Pattern.h
@@ -22,6 +22,7 @@
 #include <cmath>
 #include <cstddef>
 #include <cstdint>
+#include <limits>
 #include <numeric>
 #include <vector>