diff -Nur boost_1_41_0.orig/boost/iostreams/filter/zlib.hpp boost_1_41_0/boost/iostreams/filter/zlib.hpp --- boost_1_41_0.orig/boost/iostreams/filter/zlib.hpp 2009-10-14 18:20:36.000000000 +0300 +++ boost_1_41_0/boost/iostreams/filter/zlib.hpp 2009-12-13 16:47:53.078056507 +0200 @@ -20,6 +20,7 @@ #include // allocator, bad_alloc. #include #include // MSVC, STATIC_CONSTANT, DEDUCED_TYPENAME, DINKUM. +#include // uint*_t #include #include // buffer size. #include @@ -43,9 +44,9 @@ namespace zlib { // Typedefs -typedef unsigned int uint; -typedef unsigned char byte; -typedef unsigned long ulong; +typedef uint32_t uint; +typedef uint8_t byte; +typedef uint32_t ulong; // Prefix 'x' prevents symbols from being redefined when Z_PREFIX is defined typedef void* (*xalloc_func)(void*, zlib::uint, zlib::uint);