diff options
Diffstat (limited to 'src/nvim/os')
| -rw-r--r-- | src/nvim/os/fs.h | 2 | ||||
| -rw-r--r-- | src/nvim/os/os.h | 1 | ||||
| -rw-r--r-- | src/nvim/os/pty_process_unix.h | 1 | ||||
| -rw-r--r-- | src/nvim/os/pty_process_win.h | 1 | ||||
| -rw-r--r-- | src/nvim/os/unix_defs.h | 9 | ||||
| -rw-r--r-- | src/nvim/os/win_defs.h | 1 |
6 files changed, 10 insertions, 5 deletions
diff --git a/src/nvim/os/fs.h b/src/nvim/os/fs.h index 4fe54215ba..aacb1c2f48 100644 --- a/src/nvim/os/fs.h +++ b/src/nvim/os/fs.h @@ -1,6 +1,6 @@ #pragma once -#include "nvim/os/fs_defs.h" +#include "nvim/os/fs_defs.h" // IWYU pragma: export #include "nvim/types.h" #ifdef INCLUDE_GENERATED_DECLARATIONS diff --git a/src/nvim/os/os.h b/src/nvim/os/os.h index ede9234865..84c4e6668e 100644 --- a/src/nvim/os/os.h +++ b/src/nvim/os/os.h @@ -7,6 +7,7 @@ #include "nvim/cmdexpand_defs.h" #include "nvim/garray_defs.h" #include "nvim/os/fs_defs.h" +#include "nvim/os/os_defs.h" // IWYU pragma: export #include "nvim/os/stdpaths_defs.h" #include "nvim/types.h" diff --git a/src/nvim/os/pty_process_unix.h b/src/nvim/os/pty_process_unix.h index 344e0a3423..92cc582832 100644 --- a/src/nvim/os/pty_process_unix.h +++ b/src/nvim/os/pty_process_unix.h @@ -1,4 +1,5 @@ #pragma once +// IWYU pragma: private, include "nvim/os/pty_process.h" #include <stdint.h> #include <sys/ioctl.h> diff --git a/src/nvim/os/pty_process_win.h b/src/nvim/os/pty_process_win.h index 71190380fd..26cf387e54 100644 --- a/src/nvim/os/pty_process_win.h +++ b/src/nvim/os/pty_process_win.h @@ -1,4 +1,5 @@ #pragma once +// IWYU pragma: private, include "nvim/os/pty_process.h" #include <uv.h> diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h index b90e306932..fe5dce5655 100644 --- a/src/nvim/os/unix_defs.h +++ b/src/nvim/os/unix_defs.h @@ -1,10 +1,11 @@ #pragma once +// IWYU pragma: private, include "nvim/os/os_defs.h" -#include <sys/param.h> -#include <sys/socket.h> -#include <unistd.h> +#include <sys/param.h> // IWYU pragma: export +#include <sys/socket.h> // IWYU pragma: export +#include <unistd.h> // IWYU pragma: export #if defined(HAVE_TERMIOS_H) -# include <termios.h> +# include <termios.h> // IWYU pragma: export #endif // POSIX.1-2008 says that NAME_MAX should be in here diff --git a/src/nvim/os/win_defs.h b/src/nvim/os/win_defs.h index e1bc1a727b..852059f78b 100644 --- a/src/nvim/os/win_defs.h +++ b/src/nvim/os/win_defs.h @@ -1,4 +1,5 @@ #pragma once +// IWYU pragma: private, include "nvim/os/os_defs.h" #ifndef MSWIN # error Header must be included only when compiling for Windows. |