aboutsummaryrefslogtreecommitdiff
path: root/ports/lodepng/algorithm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/lodepng/algorithm.patch')
-rw-r--r--ports/lodepng/algorithm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/lodepng/algorithm.patch b/ports/lodepng/algorithm.patch
new file mode 100644
index 000000000..796bdfc66
--- /dev/null
+++ b/ports/lodepng/algorithm.patch
@@ -0,0 +1,12 @@
+diff --git a/lodepng_util.cpp b/lodepng_util.cpp
+index 4b571bb..58ba81a 100644
+--- a/lodepng_util.cpp
++++ b/lodepng_util.cpp
+@@ -26,6 +26,7 @@ freely, subject to the following restrictions:
+ #include "lodepng_util.h"
+ #include <iostream>
+ #include "math.h"
++#include <algorithm>
+
+ namespace lodepng
+ {