aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/context.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-01-15 14:16:33 +0100
committerGitHub <noreply@github.com>2023-01-15 14:16:33 +0100
commit3269902a13df3bccf8705db73488c0a47f495514 (patch)
tree233e3de01b6cecff202d67950514f51834b9573c /src/nvim/context.c
parent43feb973e30ed40b8eb7bc97b0f41eef0b51194b (diff)
downloadrneovim-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/context.c')
-rw-r--r--src/nvim/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/context.c b/src/nvim/context.c
index b064a92b74..9de6c16536 100644
--- a/src/nvim/context.c
+++ b/src/nvim/context.c
@@ -5,7 +5,9 @@
#include <assert.h>
#include <stdbool.h>
+#include <stdint.h>
#include <stdio.h>
+#include <string.h>
#include "nvim/api/private/converter.h"
#include "nvim/api/private/helpers.h"
@@ -23,8 +25,6 @@
#include "nvim/message.h"
#include "nvim/option.h"
#include "nvim/shada.h"
-#include "nvim/types.h"
-#include "nvim/vim.h"
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "context.c.generated.h"