X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlex_pimpl.h;h=79f4393acef51621bf74b71f86cf0513b947fc12;hb=37d42d45f3f4a5d3e916a080af50b37ae4a9d118;hp=681c0a746ff82ce9d43d7f459a86019527fa0bc4;hpb=c9f9ba315c8e475ad47c64fef6c9c755dea3d55c;p=lyx.git diff --git a/src/lyxlex_pimpl.h b/src/lyxlex_pimpl.h index 681c0a746f..79f4393ace 100644 --- a/src/lyxlex_pimpl.h +++ b/src/lyxlex_pimpl.h @@ -14,10 +14,14 @@ #include "lyxlex.h" -#include "support/gzstream.h" +#ifdef USE_COMPRESSION +# include "support/gzstream.h" +#endif #include +#include +#include #include #include @@ -56,8 +60,11 @@ public: void pushToken(std::string const &); /// fb_ is only used to open files, the stream is accessed through is. std::filebuf fb_; + +#ifdef USE_COMPRESSION /// gz_ is only used to open files, the stream is accessed through is. gz::gzstreambuf gz_; +#endif /// the stream that we use. std::istream is;