#include "lyxlex.h"
#ifdef USE_COMPRESSION
-# include "support/gzstream.h"
+# include <boost/iostreams/filtering_streambuf.hpp>
+# include <boost/iostreams/filter/gzip.hpp>
+# include <boost/iostreams/device/file.hpp>
+namespace io = boost::iostreams;
#endif
#include <boost/utility.hpp>
#ifdef USE_COMPRESSION
/// gz_ is only used to open files, the stream is accessed through is.
- gz::gzstreambuf gz_;
+ io::filtering_istreambuf gz_;
#endif
/// the stream that we use.