Browse Source

build: Add needed UNIX standard includes.

ppa-0.6.1
Carl Dong 7 years ago
committed by Christian Decker
parent
commit
8da65854f0
  1. 2
      common/wireaddr.c
  2. 1
      lightningd/lightningd.c
  3. 1
      lightningd/subd.c

2
common/wireaddr.c

@ -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. */

1
lightningd/lightningd.c

@ -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>

1
lightningd/subd.c

@ -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>

Loading…
Cancel
Save