summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/wx/math_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/wx/math_include.patch')
-rw-r--r--var/spack/repos/builtin/packages/wx/math_include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/wx/math_include.patch b/var/spack/repos/builtin/packages/wx/math_include.patch
new file mode 100644
index 0000000000..152f095d18
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wx/math_include.patch
@@ -0,0 +1,12 @@
+diff --git a/src/stc/scintilla/src/Editor.cxx b/src/stc/scintilla/src/Editor.cxx
+index cd72953ae7..8c19154313 100644
+--- a/src/stc/scintilla/src/Editor.cxx
++++ b/src/stc/scintilla/src/Editor.cxx
+@@ -10,6 +10,7 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include <assert.h>
++#include <math.h>
+
+ #include <string>
+ #include <vector>