]> git.lizzy.rs Git - dragonnet.git/blobdiff - send.c
Use getaddrinfo and getnameinfo for address parsing
[dragonnet.git] / send.c
diff --git a/send.c b/send.c
index ce3736670abcd0b2324397d5ba522692a48ca65c..c9dc260d59c4cbc5fc615d31ac88ac474c7e3a22 100644 (file)
--- a/send.c
+++ b/send.c
@@ -3,6 +3,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/socket.h>
+#include <sys/types.h>
 
 bool dragonnet_send_raw(DragonnetPeer *p, bool submit, const void *buf, size_t n)
 {