Fix includes in zlibstream.hxx

Forward declarations of std::streambuf and std::istream are not enough,
since this file declares classes derived from them.
This commit is contained in:
Florent Rougon 2017-03-14 20:24:32 +01:00
parent b66c51a6f8
commit f7a511d1b3

View File

@ -23,8 +23,9 @@
#ifndef SG_ZLIBSTREAM_HXX #ifndef SG_ZLIBSTREAM_HXX
#define SG_ZLIBSTREAM_HXX #define SG_ZLIBSTREAM_HXX
#include <iosfwd>
#include <ios> // std::streamsize #include <ios> // std::streamsize
#include <istream>
#include <streambuf>
#include <memory> // std::unique_ptr #include <memory> // std::unique_ptr
#include <zlib.h> // struct z_stream #include <zlib.h> // struct z_stream