diff options
| author | dundargoc <gocdundar@gmail.com> | 2023-11-25 11:32:32 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-11-25 17:41:33 +0100 |
| commit | a827003e3052c6d9ee7bdb71518182e9bd76317d (patch) | |
| tree | c1b6276a2c74bfc1f190f518e7d098c78e99b3b9 /src/nvim/os | |
| parent | 03b7d35b5485b6a66bcd92027e43c838766bb205 (diff) | |
| download | rneovim-a827003e3052c6d9ee7bdb71518182e9bd76317d.tar.gz rneovim-a827003e3052c6d9ee7bdb71518182e9bd76317d.tar.bz2 rneovim-a827003e3052c6d9ee7bdb71518182e9bd76317d.zip | |
build: rework IWYU mapping files
Create mapping to most of the C spec and some POSIX specific functions.
This is more robust than relying files shipped with IWYU.
Diffstat (limited to 'src/nvim/os')
| -rw-r--r-- | src/nvim/os/fs.c | 1 | ||||
| -rw-r--r-- | src/nvim/os/unix_defs.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index e2a6136ab4..82916eca7b 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -9,6 +9,7 @@ #include <stdlib.h> #include <string.h> #include <sys/stat.h> +#include <sys/types.h> #include <uv.h> #ifdef MSWIN diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h index 42d649d773..b90e306932 100644 --- a/src/nvim/os/unix_defs.h +++ b/src/nvim/os/unix_defs.h @@ -1,6 +1,7 @@ #pragma once #include <sys/param.h> +#include <sys/socket.h> #include <unistd.h> #if defined(HAVE_TERMIOS_H) # include <termios.h> |