From 4fcdf6de5cb41a7335d9a0aae19f1e8dd3924500 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 7 Oct 2016 13:56:57 +1030 Subject: [PATCH] irc: fix check-source. Signed-off-by: Rusty Russell --- Makefile | 1 + daemon/Makefile | 1 + irc.c | 2 +- irc.h | 10 +++++----- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f0579a74a..383f4ca73 100644 --- a/Makefile +++ b/Makefile @@ -150,6 +150,7 @@ BITCOIN_HEADERS := bitcoin/address.h \ CORE_HEADERS := close_tx.h \ find_p2sh_out.h \ + irc.h \ names.h \ opt_bits.h \ overflows.h \ diff --git a/daemon/Makefile b/daemon/Makefile index 60f5cca3f..68b187680 100644 --- a/daemon/Makefile +++ b/daemon/Makefile @@ -73,6 +73,7 @@ DAEMON_HEADERS := \ daemon/htlc.h \ daemon/htlc_state.h \ daemon/invoice.h \ + daemon/irc_announce.h \ daemon/json.h \ daemon/jsonrpc.h \ daemon/lightningd.h \ diff --git a/irc.c b/irc.c index d1eebac1c..f65eb371f 100644 --- a/irc.c +++ b/irc.c @@ -1,6 +1,6 @@ -#include "irc.h" #include "daemon/dns.h" #include "daemon/log.h" +#include "irc.h" void (*irc_privmsg_cb)(struct ircstate *, const struct privmsg *) = NULL; void (*irc_disconnect_cb)(struct ircstate *) = NULL; diff --git a/irc.h b/irc.h index 6d9cf5f46..068886c37 100644 --- a/irc.h +++ b/irc.h @@ -1,17 +1,17 @@ #ifndef LIGHTNING_IRC_H #define LIGHTNING_IRC_H -#include -#include -#include +#include "config.h" +#include "daemon/lightningd.h" #include #include #include #include #include #include - -#include "daemon/lightningd.h" +#include +#include +#include struct irccommand { struct list_node list;