]> git.ozlabs.org Git - ccan/blobdiff - ccan/net/net.c
ttxml: removed cruft from tests
[ccan] / ccan / net / net.c
index 8bcaa937c8955e249173abdff234d9e19ac4a6b6..30f6560ea29a6423be34e4e04373857eb6dcf88e 100644 (file)
@@ -1,3 +1,4 @@
+/* Licensed under BSD-MIT - see LICENSE file for details */
 #include <ccan/net/net.h>
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -9,6 +10,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,