diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-01-15 14:16:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-15 14:16:33 +0100 |
| commit | 3269902a13df3bccf8705db73488c0a47f495514 (patch) | |
| tree | 233e3de01b6cecff202d67950514f51834b9573c /src/nvim/event | |
| parent | 43feb973e30ed40b8eb7bc97b0f41eef0b51194b (diff) | |
| download | rneovim-3269902a13df3bccf8705db73488c0a47f495514.tar.gz rneovim-3269902a13df3bccf8705db73488c0a47f495514.tar.bz2 rneovim-3269902a13df3bccf8705db73488c0a47f495514.zip | |
refactor: fix IWYU mapping file and use IWYU (#21802)
Also add the EXITFREE definition to main_lib rather than the nvim target, as the header generation needs the EXITFREE flag to work properly.
Diffstat (limited to 'src/nvim/event')
| -rw-r--r-- | src/nvim/event/libuv_process.c | 2 | ||||
| -rw-r--r-- | src/nvim/event/process.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/event/libuv_process.c b/src/nvim/event/libuv_process.c index 10a09275d9..e528d21a71 100644 --- a/src/nvim/event/libuv_process.c +++ b/src/nvim/event/libuv_process.c @@ -1,6 +1,7 @@ // This is an open source non-commercial project. Dear PVS-Studio, please check // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com +#include <assert.h> #include <stdint.h> #include <uv.h> @@ -12,6 +13,7 @@ #include "nvim/log.h" #include "nvim/macros.h" #include "nvim/os/os.h" +#include "nvim/ui_client.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/libuv_process.c.generated.h" diff --git a/src/nvim/event/process.c b/src/nvim/event/process.c index 9dfd6f329a..1a524a56ca 100644 --- a/src/nvim/event/process.c +++ b/src/nvim/event/process.c @@ -20,6 +20,7 @@ #include "nvim/os/shell.h" #include "nvim/os/time.h" #include "nvim/rbuffer.h" +#include "nvim/ui_client.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/process.c.generated.h" |