aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-11-15 10:55:07 +0100
committerGitHub <noreply@github.com>2022-11-15 10:55:07 +0100
commit4b02291f81b76eda029d4eae1c1d59c1a946a032 (patch)
tree1c80f329c147d3a1caa254a12ea2f3e613018358 /src/nvim/os/fs.c
parentc6c265a86ce86e99fdb6d4375219b56dc293c832 (diff)
parent66360675cf4d091b7460e4a8e1435c13216c1929 (diff)
downloadrneovim-4b02291f81b76eda029d4eae1c1d59c1a946a032.tar.gz
rneovim-4b02291f81b76eda029d4eae1c1d59c1a946a032.tar.bz2
rneovim-4b02291f81b76eda029d4eae1c1d59c1a946a032.zip
Merge pull request #20157 from dundargoc/build/iwyu
build: allow IWYU to fix includes for all .c files
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index 0cadabbb47..2ae0a81e3d 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -5,11 +5,23 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <limits.h>
#include <stdbool.h>
#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/stat.h>
#include "auto/config.h"
+#include "nvim/gettext.h"
+#include "nvim/globals.h"
+#include "nvim/log.h"
+#include "nvim/macros.h"
+#include "nvim/option_defs.h"
+#include "nvim/os/fs_defs.h"
+#include "nvim/types.h"
+#include "nvim/vim.h"
#ifdef HAVE_SYS_UIO_H
# include <sys/uio.h>
@@ -18,14 +30,12 @@
#include <uv.h>
#include "nvim/ascii.h"
-#include "nvim/assert.h"
#include "nvim/memory.h"
#include "nvim/message.h"
-#include "nvim/option.h"
#include "nvim/os/os.h"
-#include "nvim/os/os_defs.h"
#include "nvim/path.h"
-#include "nvim/strings.h"
+
+struct iovec;
#ifdef MSWIN
# include "nvim/mbyte.h" // for utf8_to_utf16, utf16_to_utf8