Warning fixes in our zlib fork

This commit is contained in:
Henrik Rydgård 2024-08-08 10:54:27 -06:00
parent 5658a3ea48
commit beac615480
3 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,10 @@
#include "gzguts.h" #include "gzguts.h"
#ifndef _WIN32
#include <unistd.h>
#endif
#if defined(_WIN32) && !defined(__BORLANDC__) #if defined(_WIN32) && !defined(__BORLANDC__)
# define LSEEK _lseeki64 # define LSEEK _lseeki64
#else #else

View File

@ -5,6 +5,10 @@
#include "gzguts.h" #include "gzguts.h"
#ifndef _WIN32
#include <unistd.h>
#endif
/* Local functions */ /* Local functions */
local int gz_load OF((gz_statep, unsigned char *, unsigned, unsigned *)); local int gz_load OF((gz_statep, unsigned char *, unsigned, unsigned *));
local int gz_avail OF((gz_statep)); local int gz_avail OF((gz_statep));

View File

@ -5,6 +5,10 @@
#include "gzguts.h" #include "gzguts.h"
#ifndef _WIN32
#include <unistd.h>
#endif
/* Local functions */ /* Local functions */
local int gz_init OF((gz_statep)); local int gz_init OF((gz_statep));
local int gz_comp OF((gz_statep, int)); local int gz_comp OF((gz_statep, int));