We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf97faf commit 104d9a7Copy full SHA for 104d9a7
vlib/net/net_nix.c.v
@@ -1,15 +1,13 @@
1
module net
2
3
#include <unistd.h>
4
-#include <sys/socket.h>
5
-#include <sys/types.h>
6
-#include <sys/un.h>
7
#include <sys/select.h>
+// inet.h is needed for inet_ntop on macos
8
#include <arpa/inet.h>
9
-#include <netinet/in.h>
10
#include <netdb.h>
11
#include <errno.h>
12
#include <fcntl.h>
+
13
#flag solaris -lsocket
14
15
fn error_code() int {
vlib/net/unix/aasocket.c.v
@@ -1,5 +1,7 @@
module unix
+#include <sys/un.h>
// Select represents a select operation
enum Select {
read
0 commit comments