Browse Source

libplugin: add required import

libplugin seems to need the time include, so move it up from pay.
travis-debug
lisa neigut 5 years ago
committed by Rusty Russell
parent
commit
f784863603
  1. 1
      plugins/libplugin.h
  2. 1
      plugins/pay.c

1
plugins/libplugin.h

@ -3,6 +3,7 @@
#define LIGHTNING_PLUGINS_LIBPLUGIN_H
#include "config.h"
#include <ccan/time/time.h>
#include <common/json.h>
#include <common/json_command.h>
#include <common/json_helpers.h>

1
plugins/pay.c

@ -3,7 +3,6 @@
#include <ccan/intmap/intmap.h>
#include <ccan/json_out/json_out.h>
#include <ccan/tal/str/str.h>
#include <ccan/time/time.h>
#include <common/amount.h>
#include <common/bolt11.h>
#include <common/pseudorand.h>

Loading…
Cancel
Save