about summary refs log tree commit diff
path: root/pkgs/tools/misc/gringo/gringo-4.5.4-cmath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/gringo/gringo-4.5.4-cmath.patch')
-rw-r--r--pkgs/tools/misc/gringo/gringo-4.5.4-cmath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/misc/gringo/gringo-4.5.4-cmath.patch b/pkgs/tools/misc/gringo/gringo-4.5.4-cmath.patch
new file mode 100644
index 000000000000..7b5510e2344b
--- /dev/null
+++ b/pkgs/tools/misc/gringo/gringo-4.5.4-cmath.patch
@@ -0,0 +1,11 @@
+--- gringo/libgringo/src/term.cc~	2016-07-12 23:56:10.593577749 -0400
++++ gringo/libgringo/src/term.cc	2016-07-12 23:52:35.169968338 -0400
+@@ -22,6 +22,8 @@
+ #include "gringo/logger.hh"
+ #include "gringo/graph.hh"
+ 
++#include <cmath>
++
+ namespace Gringo {
+ 
+ // {{{ definition of Defines