ports/sysutils/deltup/files/patch-file.h
Roman Bogorodskiy 36e3a98617 - Fix build [1]
- Respect CC

Reported by:	miwi [1]
2013-03-16 09:35:14 +00:00

29 lines
593 B
C++

--- file.h.orig 2013-03-16 09:40:32.000000000 +0400
+++ file.h 2013-03-16 09:41:06.000000000 +0400
@@ -12,6 +12,8 @@
* Author: John Whitney <jjw@deltup.org>
*/
+#include <zlib.h>
+
class IStream {
public:
virtual unsigned read(void *data, unsigned num) = 0;
@@ -56,7 +58,7 @@
};
class GZ_IFStream : public IStream {
- void *file;
+ gzFile_s *file;
public:
GZ_IFStream(string fname);
virtual ~GZ_IFStream();
@@ -65,7 +67,7 @@
};
class GZ_OFStream : public OStream {
- void *file;
+ gzFile_s *file;
public:
GZ_OFStream(string fname);
virtual ~GZ_OFStream();