Skip to content

Commit eb14af1

Browse files
add xmake build fixes for macOS (#187)
1 parent d1eafd6 commit eb14af1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
#include <corecrt.h>
2525
#endif
2626

27+
#ifndef _MSC_VER
28+
#include <unistd.h>
29+
#endif
30+
2731
#include <openssl/bio.h>
2832
#include <openssl/buffer.h>
2933
#include <openssl/crypto.h>

0 commit comments

Comments
 (0)