added missing #include <unistd.h> when compiling for Android
This commit is contained in:
parent
523c28a215
commit
08b7ee02a3
@ -223,6 +223,7 @@ int WAI_PREFIX(getExecutablePath)(char* out, int capacity, int* dirname_length)
|
|||||||
#if defined(__ANDROID__) || defined(ANDROID)
|
#if defined(__ANDROID__) || defined(ANDROID)
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
WAI_NOINLINE
|
WAI_NOINLINE
|
||||||
|
Loading…
Reference in New Issue
Block a user