]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex_pimpl.h
Continue to improve GtkLengthEntry
[lyx.git] / src / lyxlex_pimpl.h
index 681c0a746ff82ce9d43d7f459a86019527fa0bc4..79f4393acef51621bf74b71f86cf0513b947fc12 100644 (file)
 
 #include "lyxlex.h"
 
-#include "support/gzstream.h"
+#ifdef USE_COMPRESSION
+# include "support/gzstream.h"
+#endif
 
 #include <boost/utility.hpp>
 
+#include <fstream>
+#include <istream>
 #include <stack>
 #include <vector>
 
@@ -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;