mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
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:
parent
33168fc733
commit
dd93f5dd29
3 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#else
|
||||
# define IF_SQLITE3(...)
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <zlib.h>
|
||||
|
||||
static const char template[] =
|
||||
|
|
Loading…
Add table
Reference in a new issue