File tree 3 files changed +4
-0
lines changed
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -842,6 +842,8 @@ static void onyx_watch(CompileOptions *compile_opts) {
842
842
#endif
843
843
844
844
#if defined(_BH_LINUX ) || defined(_BH_DARWIN )
845
+ #include <sys/wait.h>
846
+
845
847
static void perform_self_upgrade (CompileOptions * opts , char * version ) {
846
848
// TODO: cleanup
847
849
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ echo "Compiling onyx_runtime.$suffix"
20
20
$ONYX_CC -shared -fpic -w -O2 \
21
21
-o onyx_runtime.$suffix \
22
22
$FLAGS \
23
+ -Wno-incompatible-pointer-types \
23
24
-I ../shared/include -I ../compiler/include \
24
25
./onyx_runtime.c \
25
26
-lpthread
Original file line number Diff line number Diff line change 19
19
#include <sys/socket.h>
20
20
#include <sys/un.h>
21
21
#include <sys/syscall.h>
22
+ #include <sys/random.h>
22
23
#include <poll.h>
23
24
#include <termios.h>
24
25
#include <sys/ioctl.h>
You can’t perform that action at this time.
0 commit comments