diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-27 09:51:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 09:51:26 +0800 |
commit | 09541d514dd18bf86f673d3784d406236fcbdad8 (patch) | |
tree | a719e36a3161d84714cd2f5e6e70f21f5410fb5c /src/nvim/os/unix_defs.h | |
parent | 7e2387f41be7cd8304fe48bfa089f2bea155dd5a (diff) | |
download | rneovim-09541d514dd18bf86f673d3784d406236fcbdad8.tar.gz rneovim-09541d514dd18bf86f673d3784d406236fcbdad8.tar.bz2 rneovim-09541d514dd18bf86f673d3784d406236fcbdad8.zip |
build(IWYU): replace public-to-public mappings with pragmas (#26237)
Diffstat (limited to 'src/nvim/os/unix_defs.h')
-rw-r--r-- | src/nvim/os/unix_defs.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 |