Fix for Alpine Linux ond OpenBSD

After recent header files clean-up it was not possible to
build c-lightning 7401b2682. This patch fixes it both for
Alpine Linux and OpenBSD.

Proposed-by: nathanael <nathanael@dalliard.ch>

Changelog-None
This commit is contained in:
Jan Sarenik 2021-09-19 13:07:58 +02:00 committed by Christian Decker
parent 7401b26824
commit 284ad2bade
5 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@
#include <inttypes.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <wire/wire.h>
void sync_crypto_write(struct per_peer_state *pps, const void *msg TAKES)

View File

@ -4,6 +4,7 @@
#include <common/status.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <unistd.h>
#include <wire/peer_wire.h>

View File

@ -69,7 +69,6 @@
#include <lightningd/options.h>
#include <lightningd/plugin.h>
#include <sys/resource.h>
#include <sys/stat.h>
#include <wallet/txfilter.h>
#include <wally_bip32.h>

View File

@ -3,6 +3,8 @@
#include "config.h"
#include <lightningd/htlc_end.h>
#include <lightningd/htlc_set.h>
#include <signal.h>
#include <sys/stat.h>
#include <wallet/wallet.h>
/* Various adjustable things. */

View File

@ -9,6 +9,7 @@
#include <common/type_to_string.h>
#include <errno.h>
#include <plugins/libplugin-pay.h>
#include <sys/types.h>
#include <wire/peer_wire.h>
static struct gossmap *global_gossmap;