Add missing headers for compiling on FreeBSD 13

- `netinet/in.h`: struct sockaddr_in, struct sockaddr_in6
- `unistd.h`: close()
This commit is contained in:
W. J. van der Laan
2021-09-21 11:30:37 +02:00
committed by Rusty Russell
parent 33168fc733
commit dd93f5dd29
3 changed files with 3 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
#include <connectd/tor_autoservice.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sodium.h>
#include <wire/wire_sync.h>