Browse Source

Forward declare socket type

master
Macoy Madson 3 months ago
parent
commit
ead23b4abb
  1. 3
      src/Network.cake

3
src/Network.cake

@ -2,4 +2,5 @@
(export
(c-import "<string.h>"
"<sys/socket.h>" "<sys/types.h>" "<unistd.h>"
"<netinet/tcp.h>" "<netinet/in.h>" "<netdb.h>"))
"<netinet/tcp.h>" "<netinet/in.h>" "<netdb.h>")
(def-type-alias-global socket-type int))

Loading…
Cancel
Save