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

@@ -22,12 +22,14 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#pragma once
#include <stdint.h>
typedef unsigned short ushort;
typedef unsigned int uint32_t;
typedef unsigned char uchar;
struct unpacker;
#include "unpack.h"
struct jar
{
@@ -95,7 +97,7 @@ struct gunzip
// pointer to outer unpacker, for error checks etc.
unpacker *u;
void *read_input_fn; // underlying \bchar\b stream
read_input_fn_t read_input_fn; // underlying \bchar\b stream
void *zstream; // inflater state
char inbuf[1 << 14]; // input buffer