Fix Xcode 12 build error

This commit is contained in:
Edward Li 2020-11-04 00:36:26 +08:00
parent 621083c035
commit 1f97d59325
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@
#define O_BINARY 0
#endif
#if defined(__APPLE__)
#include <unistd.h>
#endif
int