Browse Source

gossipd: Move include of time.h to routing.h

Commit a57a2dcb86 introduced a time_t
in routing.h. So also move the time.h include to the header. This
fixes the build on FreeBSD.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
ppa-0.6.1
Wladimir J. van der Laan 7 years ago
committed by Rusty Russell
parent
commit
b2abe0d250
  1. 1
      gossipd/routing.c
  2. 1
      gossipd/routing.h

1
gossipd/routing.c

@ -7,7 +7,6 @@
#include <ccan/endian/endian.h>
#include <ccan/structeq/structeq.h>
#include <ccan/tal/str/str.h>
#include <ccan/time/time.h>
#include <common/features.h>
#include <common/pseudorand.h>
#include <common/status.h>

1
gossipd/routing.h

@ -3,6 +3,7 @@
#include "config.h"
#include <bitcoin/pubkey.h>
#include <ccan/htable/htable_type.h>
#include <ccan/time/time.h>
#include <gossipd/broadcast.h>
#include <wire/gen_onion_wire.h>
#include <wire/wire.h>

Loading…
Cancel
Save