1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Fix windows build.

This commit is contained in:
Calvin Rose 2020-11-12 14:52:02 -06:00
parent 1b0edf54f1
commit 1a75f68cb2

View File

@ -28,6 +28,7 @@
#ifdef JANET_NET #ifdef JANET_NET
#include <math.h>
#ifdef JANET_WINDOWS #ifdef JANET_WINDOWS
#include <winsock2.h> #include <winsock2.h>
#include <windows.h> #include <windows.h>
@ -47,7 +48,6 @@
#include <netinet/tcp.h> #include <netinet/tcp.h>
#include <netdb.h> #include <netdb.h>
#include <fcntl.h> #include <fcntl.h>
#include <math.h>
#endif #endif
/* /*