diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:40:31 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:40:31 +0000 |
commit | 339e2d15cc26fe86988ea06468d912a46c8d6f29 (patch) | |
tree | a6167fc8fcfc6ae2dc102f57b2473858eac34063 /src/nvim/os/unix_defs.h | |
parent | 067dc73729267c0262438a6fdd66e586f8496946 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.tar.gz rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.tar.bz2 rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.zip |
Merge remote-tracking branch 'upstream/master' into fix_repeatcmdline
Diffstat (limited to 'src/nvim/os/unix_defs.h')
-rw-r--r-- | src/nvim/os/unix_defs.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/nvim/os/unix_defs.h b/src/nvim/os/unix_defs.h index 8d002fc5e9..d2bec7b361 100644 --- a/src/nvim/os/unix_defs.h +++ b/src/nvim/os/unix_defs.h @@ -1,14 +1,18 @@ -#ifndef NVIM_OS_UNIX_DEFS_H -#define NVIM_OS_UNIX_DEFS_H +#pragma once +// IWYU pragma: private, include "nvim/os/os_defs.h" +// IWYU pragma: begin_exports +#include <arpa/inet.h> +#include <netdb.h> +#include <netinet/in.h> +#include <pthread.h> #include <sys/param.h> +#include <sys/socket.h> #include <unistd.h> #if defined(HAVE_TERMIOS_H) # include <termios.h> #endif - -// POSIX.1-2008 says that NAME_MAX should be in here -#include <limits.h> +// IWYU pragma: end_exports #define TEMP_DIR_NAMES { "$TMPDIR", "/tmp", ".", "~" } #define TEMP_FILE_PATH_MAXLEN 256 @@ -21,5 +25,3 @@ // Character that separates entries in $PATH. #define ENV_SEPCHAR ':' #define ENV_SEPSTR ":" - -#endif // NVIM_OS_UNIX_DEFS_H |