// ============================================================================
//
// File : gzstream.C
-// Revision : $Revision: 1.1 $
-// Revision_date : $Date: 2003/07/27 23:40:08 $
+// Revision : $Revision: 1.4 $
+// Revision_date : $Date: 2005/04/26 10:30:24 $
// Author(s) : Deepak Bandyopadhyay, Lutz Kettner
-//
-// Standard streambuf implementation following Nicolai Josuttis, "The
+//
+// Standard streambuf implementation following Nicolai Josuttis, "The
// Standard C++ Library".
// ============================================================================
-#include <gzstream.h>
+#include <config.h>
+
+#include "gzstream.h"
#include <iostream>
-#include <string.h> // for memcpy
+#ifdef HAVE_STRING_H
+# include <string.h> // for memcpy
+#endif
#ifdef GZSTREAM_NAMESPACE
namespace GZSTREAM_NAMESPACE {
buffer + 4 + num); // end of buffer
// return next character
- return * reinterpret_cast<unsigned char *>( gptr());
+ return * reinterpret_cast<unsigned char *>( gptr());
}
int gzstreambuf::flush_buffer() {