Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
update: zlib warn
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanlu committed Apr 10, 2024
1 parent 48135a8 commit 8bcd1fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/zlib/gzlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
*/

#include "gzguts.h"
#include <sys/types.h>
#include <unistd.h>

#if defined(_WIN32) && !defined(__BORLANDC__)
# define LSEEK _lseeki64
Expand Down
1 change: 1 addition & 0 deletions external/zlib/gzread.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include "gzguts.h"
#include <unistd.h>

/* Use read() to load a buffer -- return -1 on error, otherwise 0. Read from
state->fd, and update state->eof, state->err, and state->msg as appropriate.
Expand Down
1 change: 1 addition & 0 deletions external/zlib/gzwrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

#include "gzguts.h"
#include <unistd.h>

/* Initialize state for writing a gzip file. Mark initialization by setting
state->size to non-zero. Return -1 on a memory allocation failure, or 0 on
Expand Down

0 comments on commit 8bcd1fc

Please sign in to comment.