summaryrefslogtreecommitdiff
path: root/lang/ofc/files/patch-ofc_DGZipFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ofc/files/patch-ofc_DGZipFile.h')
-rw-r--r--lang/ofc/files/patch-ofc_DGZipFile.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/ofc/files/patch-ofc_DGZipFile.h b/lang/ofc/files/patch-ofc_DGZipFile.h
new file mode 100644
index 000000000000..6423325cb2e9
--- /dev/null
+++ b/lang/ofc/files/patch-ofc_DGZipFile.h
@@ -0,0 +1,19 @@
+--- ofc/DGZipFile.h.orig 2008-08-02 15:15:11.000000000 +0000
++++ ofc/DGZipFile.h
+@@ -46,6 +46,7 @@
+ #endif
+
+ #ifdef HAVE_DGZIPFILE
++#include <zlib.h>
+
+ // the seek origins
+ #define DGZ_SEEK_SET (0) // Seek from the start of the file
+@@ -114,7 +115,7 @@
+ @interface DGZipFile : Object <DTextReadable,DTextWritable,DDataReadable,DDataWritable>
+ {
+ @private
+- void *_file; // the file pointer
++ gzFile _file; // the file pointer
+ }
+
+ #endif