std::min comes from <algorithm>

Fixes configuration error in libvisio.

Change-Id: I6a6f743eca5fdfc990aadd69406b21d3ccdc6435
This commit is contained in:
Tor Lillqvist
2013-07-03 19:43:34 +03:00
parent 8079326b97
commit 2ffd377f72
2 changed files with 12 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ boost_patches += boost.auto_link.patch
boost_patches += boost.endian.patch
boost_patches += boost.loplugin.patch
boost_patches += boost.std.move.patch
boost_patches += boost.transform_width.patch
boost_patches += boost.wundef.patch
boost_patches += boost.wunused.patch
boost_patches += boost.wshadow.patch

View File

@@ -0,0 +1,11 @@
--- foo/foo/foo/boost/archive/iterators/transform_width.hpp
+++ foo/foo/foo/boost/archive/iterators/transform_width.hpp
@@ -23,6 +23,8 @@
// stream length is some common multiple of x and y. E.G. Base64 6 bit
// character and 8 bit bytes. Lowest common multiple is 24 => 4 6 bit characters
// or 3 8 bit characters
+
+#include <algorithm>
#include <boost/config.hpp> // for BOOST_DEDUCED_TYPENAME & PTFO
#include <boost/serialization/pfto.hpp>