aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/os/channel.c2
-rw-r--r--src/nvim/os/event.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/os/channel.c b/src/nvim/os/channel.c
index 9a692cf9fe..d393025ba5 100644
--- a/src/nvim/os/channel.c
+++ b/src/nvim/os/channel.c
@@ -17,6 +17,8 @@
#include "nvim/map.h"
#include "nvim/lib/kvec.h"
+#include "nvim/lib/klist.h"
+
typedef struct {
uint64_t id;
PMap(cstr_t) *subscribed_events;
diff --git a/src/nvim/os/event.c b/src/nvim/os/event.c
index dd2b9ba0d1..cdf40541d5 100644
--- a/src/nvim/os/event.c
+++ b/src/nvim/os/event.c
@@ -4,7 +4,6 @@
#include <uv.h>
-#include "nvim/lib/klist.h"
#include "nvim/os/event.h"
#include "nvim/os/input.h"
#include "nvim/os/channel.h"
@@ -16,6 +15,8 @@
#include "nvim/memory.h"
#include "nvim/misc2.h"
+#include "nvim/lib/klist.h"
+
// event will be cleaned up after it gets processed
#define _destroy_event(x) // do nothing
KLIST_INIT(Event, Event, _destroy_event)