mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00: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
@ -27,6 +27,10 @@
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <stddef.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user