]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/test_ipaddr.cc
update sources to v12.1.0
[ceph.git] / ceph / src / test / test_ipaddr.cc
index ab43407ec5ed7582ccaea6d9c068f58ecca33ff9..bf69b90a700a3509cade54f614242bd6eabb404e 100644 (file)
@@ -4,8 +4,10 @@
 #if defined(__FreeBSD__)
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #endif
 #include <arpa/inet.h>
+#include <ifaddrs.h>
 
 static void ipv4(struct sockaddr_in *addr, const char *s) {
   int err;