aboutsummaryrefslogtreecommitdiff
path: root/src/zebra.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zebra.h')
-rw-r--r--src/zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zebra.h b/src/zebra.h
index 321befa..16b120f 100644
--- a/src/zebra.h
+++ b/src/zebra.h
@@ -54,6 +54,7 @@
#include <stdio.h> /* for FILE */
#include <stdlib.h> /* for size_t */
#include <stdint.h> /* for uint8_t, etc. */
+#include <zlib.h> /* for gzFile */
/* Maximum number of links in a bank.
*
@@ -131,7 +132,7 @@ typedef struct zebraBank {
} zebraBank;
typedef struct zebraFile {
- FILE *f;
+ gzFile f;
/* Size of the current logical record in bytes. */
size_t lr_size;
/* Buffer used to read in the zebra file. */