1 | --- test/unit/tests/xdelta.cc.orig␉2011-10-18 18:01:46.000000000 +0200␊ |
2 | +++ test/unit/tests/xdelta.cc␉2011-10-18 19:00:18.000000000 +0200␊ |
3 | @@ -7,12 +7,15 @@␊ |
4 | // implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR␊ |
5 | // PURPOSE.␊ |
6 | ␊ |
7 | +// <boost/math/special_functions/detail/lgamma_small.hpp> uses L().␊ |
8 | +// This conflicts with a #define in "../../../src/sanity.hh"␊ |
9 | +// Workaround: Include BOOST header before monotone headers␊ |
10 | +#include <boost/random.hpp>␊ |
11 | #include "../../../src/base.hh"␊ |
12 | #include "../unit_tests.hh"␊ |
13 | #include "../../../src/xdelta.hh"␊ |
14 | ␊ |
15 | #include "../../../src/adler32.hh"␊ |
16 | -#include <boost/random.hpp>␊ |
17 | ␊ |
18 | boost::mt19937 xdelta_prng;␊ |
19 | boost::uniform_smallint<char> xdelta_chargen('a', 'z');␊ |