diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-11-01 22:08:15 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-11-01 22:08:15 +0100 |
commit | 9eb165bfee39578e6ce82dff05e08c701d0a9c0a (patch) | |
tree | ad1193f73319a25b0b275a772ca8eb35542875ff /libraries/pack200/src/zip.h | |
parent | e4ce74e622b0c4deb40dce71c88a8cc1bc064c54 (diff) | |
download | PrismLauncher-9eb165bfee39578e6ce82dff05e08c701d0a9c0a.tar.gz PrismLauncher-9eb165bfee39578e6ce82dff05e08c701d0a9c0a.tar.bz2 PrismLauncher-9eb165bfee39578e6ce82dff05e08c701d0a9c0a.zip |
iNOISSUE fix build issue with pack200 on rhel 7.6
Diffstat (limited to 'libraries/pack200/src/zip.h')
-rw-r--r-- | libraries/pack200/src/zip.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/pack200/src/zip.h b/libraries/pack200/src/zip.h index 5fcbae94..ff973a86 100644 --- a/libraries/pack200/src/zip.h +++ b/libraries/pack200/src/zip.h @@ -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 |