To compile ccan under DragonFly BSD some additional includes are required.
[ccan] / ccan / net / net.c
index 8bcaa937c8955e249173abdff234d9e19ac4a6b6..816c8eef98872a71b8a9a54d9e83de4e896dcd0f 100644 (file)
@@ -9,6 +9,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <stdbool.h>
+#include <netinet/in.h>
 
 struct addrinfo *net_client_lookup(const char *hostname,
                                   const char *service,