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

@@ -7,6 +7,7 @@
#include <common/type_to_string.h>
#include <common/wireaddr.h>
#include <netdb.h>
#include <netinet/in.h>
#include <wire/wire.h>
bool wireaddr_eq(const struct wireaddr *a, const struct wireaddr *b)