projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0919f6
)
adding winsock.h
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 4 May 2022 17:00:40 +0000
(12:00 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 4 May 2022 17:00:40 +0000
(12:00 -0500)
src/onyx_runtime.c
patch
|
blob
|
history
diff --git
a/src/onyx_runtime.c
b/src/onyx_runtime.c
index 33410e0238507a9f66a02fab62656308599d9f4c..1bbacf2bd02e150dd3bad71a1fb1d8c1b0cac44c 100644
(file)
--- a/
src/onyx_runtime.c
+++ b/
src/onyx_runtime.c
@@
-20,6
+20,10
@@
#include <poll.h>
#endif
+#ifdef _BH_WINDOWS
+ #include <winsock.h>
+#endif
+
#include "types.h" // For POINTER_SIZE
#define ONYX_FILE_ERROR_NONE 0