diff options
Diffstat (limited to 'src/archive/zip_plugin.c')
-rw-r--r-- | src/archive/zip_plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/archive/zip_plugin.c b/src/archive/zip_plugin.c index dbd2534fa..9078c2d32 100644 --- a/src/archive/zip_plugin.c +++ b/src/archive/zip_plugin.c @@ -21,6 +21,7 @@ * zip archive handling (requires zziplib) */ +#include "config.h" #include "archive_api.h" #include "archive_api.h" #include "input_plugin.h" @@ -157,7 +158,7 @@ zip_is_eof(struct input_stream *is) static bool zip_is_seek(G_GNUC_UNUSED struct input_stream *is, - G_GNUC_UNUSED off_t offset, G_GNUC_UNUSED int whence) + G_GNUC_UNUSED goffset offset, G_GNUC_UNUSED int whence) { zip_context *context = (zip_context *) is->data; zzip_off_t ofs = zzip_seek(context->file, offset, whence); |