build: Add needed UNIX standard includes.

This commit is contained in:
Carl Dong
2018-01-22 14:59:08 +00:00
committed by Christian Decker
parent 75f4b56766
commit 8da65854f0
3 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
#include <common/type_to_string.h>
#include <common/utils.h>
#include <common/wireaddr.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <wire/wire.h>
/* Returns false if we didn't parse it, and *cursor == NULL if malformed. */

View File

@@ -29,6 +29,7 @@
#include <lightningd/log.h>
#include <lightningd/options.h>
#include <onchaind/onchain_wire.h>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>

View File

@@ -14,6 +14,7 @@
#include <lightningd/log.h>
#include <lightningd/peer_control.h>
#include <lightningd/subd.h>
#include <signal.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <sys/stat.h>