aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-27 20:58:37 +0800
committerGitHub <noreply@github.com>2023-11-27 20:58:37 +0800
commit38a20dd89f91c45ec8589bf1c50d50732882d38a (patch)
treeaad537751c8696c4a384984074b1a15fe60c6004 /src/nvim/fileio.h
parentacf525287950277e7b83794184e3df5dcfdecc48 (diff)
downloadrneovim-38a20dd89f91c45ec8589bf1c50d50732882d38a.tar.gz
rneovim-38a20dd89f91c45ec8589bf1c50d50732882d38a.tar.bz2
rneovim-38a20dd89f91c45ec8589bf1c50d50732882d38a.zip
build(IWYU): replace most private mappings with pragmas (#26247)
Diffstat (limited to 'src/nvim/fileio.h')
-rw-r--r--src/nvim/fileio.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/nvim/fileio.h b/src/nvim/fileio.h
index 318be20c91..d3a0e8c54a 100644
--- a/src/nvim/fileio.h
+++ b/src/nvim/fileio.h
@@ -1,12 +1,16 @@
#pragma once
-#include "nvim/buffer_defs.h"
+#include <stdint.h> // IWYU pragma: keep
+#include <stdio.h> // IWYU pragma: keep
+#include <time.h> // IWYU pragma: keep
+
+#include "nvim/buffer_defs.h" // IWYU pragma: keep
#include "nvim/eval/typval_defs.h"
-#include "nvim/ex_cmds_defs.h"
-#include "nvim/garray_defs.h"
+#include "nvim/ex_cmds_defs.h" // IWYU pragma: keep
+#include "nvim/garray_defs.h" // IWYU pragma: keep
#include "nvim/globals.h"
-#include "nvim/os/fs_defs.h"
-#include "nvim/os/os.h"
+#include "nvim/os/fs_defs.h" // IWYU pragma: keep
+#include "nvim/pos.h"
// Values for readfile() flags
#define READ_NEW 0x01 // read a file into a new buffer