summary refs log tree commit diff
path: root/pkgs/applications/science/logic/potassco/clingcon_limits.patch
blob: 0343e10e21125ef1d6a8c731968b8b958eac1be7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git i/libclingcon/clingcon/base.hh w/libclingcon/clingcon/base.hh
index 2d449fe..0b5fa17 100644
--- i/libclingcon/clingcon/base.hh
+++ w/libclingcon/clingcon/base.hh
@@ -28,6 +28,7 @@
 #include <clingo.hh>
 #include <optional>
 #include <forward_list>
+#include <limits>
 
 //! @file clingcon/base.hh
 //! Basic data types.
diff --git i/libclingcon/clingcon/util.hh w/libclingcon/clingcon/util.hh
index df4cddd..308259e 100644
--- i/libclingcon/clingcon/util.hh
+++ w/libclingcon/clingcon/util.hh
@@ -30,6 +30,7 @@
 #include <map>
 #include <cstdlib>
 #include <stdexcept>
+#include <limits>
 
 //! @file clingcon/util.hh
 //! Very general utility functions.