Add WASI platform support to main.

This commit is contained in:
whitequark 2020-06-22 02:51:42 +00:00
parent fd2c9b1c19
commit ef2d917562
1 changed files with 2 additions and 0 deletions

View File

@ -49,7 +49,9 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include <sys/times.h>
#include <sys/resource.h>
#include <unistd.h>
#if !defined(__wasm)
#include <signal.h>
#endif
#include <stdlib.h>
#endif