mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix libretro OSX build
Fixes these errors: ``` ../ext/zlib/gzlib.c:492:14: error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ../ext/zlib/gzwrite.c:84:15: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration] 1 /* gzguts.h -- zlib internal header definitions for gz* operations got = write(state->fd, strm->next_in, strm->avail_in); ```
This commit is contained in:
parent
2b49c3e464
commit
6f2310b8ea
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
||||||
#endif
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue