diff options
Diffstat (limited to 'ports/qt5-imageformats/fix-include-math.patch')
| -rw-r--r-- | ports/qt5-imageformats/fix-include-math.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/qt5-imageformats/fix-include-math.patch b/ports/qt5-imageformats/fix-include-math.patch new file mode 100644 index 000000000..94ec86e4e --- /dev/null +++ b/ports/qt5-imageformats/fix-include-math.patch @@ -0,0 +1,12 @@ +diff --git a/src/plugins/imageformats/jp2/qjp2handler.cpp b/src/plugins/imageformats/jp2/qjp2handler.cpp +index e9a470c..556fd2c 100644 +--- a/src/plugins/imageformats/jp2/qjp2handler.cpp ++++ b/src/plugins/imageformats/jp2/qjp2handler.cpp +@@ -45,6 +45,7 @@ + #include "qcolor.h" + + #include <jasper/jasper.h> ++#include <math.h> + + QT_BEGIN_NAMESPACE + |
