Skip to content

Commit 531f275

Browse files
Fix to compile on 10.13
1 parent 09ff7a9 commit 531f275

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/libwebsockets/include/lws_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@
127127
#define HAVE_SYS_TYPES_H
128128

129129
/* Define to 1 if you have the <unistd.h> header file. */
130+
#if defined(__APPLE__) && !defined(__IOS__)
131+
#define HAVE_UNISTD_H 1
132+
#else
130133
#define HAVE_UNISTD_H
134+
#endif
131135

132136
/* Define to 1 if you have the `vfork' function. */
133137
#define HAVE_VFORK

0 commit comments

Comments
 (0)