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)
|
||||
#include <fcntl.h>
|
||||
#include <sys/mman.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
WAI_NOINLINE
|
||||
|
Loading…
x
Reference in New Issue
Block a user