diff --git a/vlib/net/net_nix.c.v b/vlib/net/net_nix.c.v index 301d4934e6..a9fa531010 100644 --- a/vlib/net/net_nix.c.v +++ b/vlib/net/net_nix.c.v @@ -1,15 +1,13 @@ module net #include -#include -#include -#include #include +// inet.h is needed for inet_ntop on macos #include -#include #include #include #include + #flag solaris -lsocket fn error_code() int { diff --git a/vlib/net/unix/aasocket.c.v b/vlib/net/unix/aasocket.c.v index 25abb47066..7f762a574c 100644 --- a/vlib/net/unix/aasocket.c.v +++ b/vlib/net/unix/aasocket.c.v @@ -1,5 +1,7 @@ module unix +#include + // Select represents a select operation enum Select { read