Merge pull request #2155 from whitequark/fix-wasm-wasi-sdk-11

kernel: guard include of signal.h more precisely
This commit is contained in:
whitequark 2020-06-13 23:28:18 +00:00 committed by GitHub
commit 74e93e083f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,9 @@
#else
# include <sys/time.h>
# include <sys/resource.h>
# include <signal.h>
# if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
# include <signal.h>
# endif
#endif
#if defined(_MSC_VER)