iNOISSUE fix build issue with pack200 on rhel 7.6

This commit is contained in:
Petr Mrázek
2018-11-01 22:08:15 +01:00
parent e4ce74e622
commit 9eb165bfee
3 changed files with 12 additions and 8 deletions

View File

@ -23,6 +23,8 @@
* questions.
*/
#pragma once
// Global Structures
struct jar;
struct gunzip;
@ -33,6 +35,8 @@ struct cpindex;
struct inner_class;
struct value_stream;
typedef int64_t (*read_input_fn_t)(unpacker *self, void *buf, int64_t minlen, int64_t maxlen);
struct cpindex
{
uint32_t len;
@ -186,8 +190,6 @@ struct unpacker
int unsized_bytes_read;
// callback to read at least one byte, up to available input
typedef int64_t (*read_input_fn_t)(unpacker *self, void *buf, int64_t minlen,
int64_t maxlen);
read_input_fn_t read_input_fn;
// archive header fields