mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +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:
1 parent
2b49c3e464
commit
6f2310b8ea
1 file changed
+4
@@ -27,6 +27,10 @@
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <stddef.h>
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user