Skip to content

Commit

Permalink
try windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
quelgar committed Jan 21, 2024
1 parent 82c33da commit b17c7c2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/resources/scala-native/helpers.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
#include <uv.h>
#include <netinet/in.h>
#include <string.h>

#ifdef _WIN32
#include <winsock.h>
#else
#include <netinet/in.h>
#endif

void scala_uv_buf_init(char *base, unsigned int len, uv_buf_t *buffer)
{
uv_buf_t buf = uv_buf_init(base, len);
Expand Down

0 comments on commit b17c7c2

Please sign in to comment.