// standard C++ with new header file names and std:: namespace
#include <iostream>
-#include <fstream>
-#ifdef HAVE_ZLIB_H
-# include <zlib.h>
-#endif
+#include <zlib.h>
// For LyX
#define GZSTREAM_NAMESPACE gz
int flush_buffer();
public:
- gzstreambuf() : opened(0) {
+ gzstreambuf() : file(0), opened(0), mode(0) {
setp( buffer, buffer + (bufferSize-1));
setg( buffer + 4, // beginning of putback area
buffer + 4, // read position