aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/event
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-12-23 05:43:52 -0800
committerGitHub <noreply@github.com>2024-12-23 05:43:52 -0800
commit2a7d0ed6145bf3f8b139c2694563f460f829813a (patch)
tree8bb488f7cb612ecf56ccea2c62042012584eba68 /src/nvim/event
parent55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4 (diff)
downloadrneovim-2a7d0ed6145bf3f8b139c2694563f460f829813a.tar.gz
rneovim-2a7d0ed6145bf3f8b139c2694563f460f829813a.tar.bz2
rneovim-2a7d0ed6145bf3f8b139c2694563f460f829813a.zip
refactor: iwyu #31637
Result of `make iwyu` (after some "fixups").
Diffstat (limited to 'src/nvim/event')
-rw-r--r--src/nvim/event/proc.c3
-rw-r--r--src/nvim/event/rstream.c6
-rw-r--r--src/nvim/event/stream.c1
3 files changed, 7 insertions, 3 deletions
diff --git a/src/nvim/event/proc.c b/src/nvim/event/proc.c
index 5ae3bd8c2d..37cb102d11 100644
--- a/src/nvim/event/proc.c
+++ b/src/nvim/event/proc.c
@@ -1,8 +1,10 @@
#include <assert.h>
#include <inttypes.h>
#include <signal.h>
+#include <string.h>
#include <uv.h>
+#include "klib/kvec.h"
#include "nvim/event/libuv_proc.h"
#include "nvim/event/loop.h"
#include "nvim/event/multiqueue.h"
@@ -13,6 +15,7 @@
#include "nvim/globals.h"
#include "nvim/log.h"
#include "nvim/main.h"
+#include "nvim/memory_defs.h"
#include "nvim/os/proc.h"
#include "nvim/os/pty_proc.h"
#include "nvim/os/shell.h"
diff --git a/src/nvim/event/rstream.c b/src/nvim/event/rstream.c
index 15bdc547d5..6304953029 100644
--- a/src/nvim/event/rstream.c
+++ b/src/nvim/event/rstream.c
@@ -1,7 +1,6 @@
#include <assert.h>
#include <stdbool.h>
-#include <stddef.h>
-#include <stdint.h>
+#include <string.h>
#include <uv.h>
#include "nvim/event/multiqueue.h"
@@ -9,7 +8,8 @@
#include "nvim/event/stream.h"
#include "nvim/log.h"
#include "nvim/macros_defs.h"
-#include "nvim/main.h"
+#include "nvim/memory.h"
+#include "nvim/memory_defs.h"
#include "nvim/os/os_defs.h"
#include "nvim/types_defs.h"
diff --git a/src/nvim/event/stream.c b/src/nvim/event/stream.c
index 71de6ee1ba..9c155b55ea 100644
--- a/src/nvim/event/stream.c
+++ b/src/nvim/event/stream.c
@@ -8,6 +8,7 @@
#include "nvim/event/loop.h"
#include "nvim/event/stream.h"
#include "nvim/log.h"
+#include "nvim/memory.h"
#include "nvim/types_defs.h"
#ifdef MSWIN
# include "nvim/os/os_win_console.h"