diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2014-06-25 21:03:09 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-01 18:21:02 -0400 |
commit | 11653ce2d7789ad1ccf31b37c12589cf1cb7787f (patch) | |
tree | 198cefc49e8fa64a23598c7a99bd104ab04a4781 | |
parent | 7d3666a123b1e413a48138d6f83dc28291d803b4 (diff) | |
download | rneovim-11653ce2d7789ad1ccf31b37c12589cf1cb7787f.tar.gz rneovim-11653ce2d7789ad1ccf31b37c12589cf1cb7787f.tar.bz2 rneovim-11653ce2d7789ad1ccf31b37c12589cf1cb7787f.zip |
Remove include for sys/select.h in vim.h #890
- There is no need to include sys/select.h anymore
- Removed HAVE_SYS_SELECT_H from config.h.in
-rw-r--r-- | config/config.h.in | 1 | ||||
-rw-r--r-- | src/nvim/vim.h | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/config/config.h.in b/config/config.h.in index 92cee5c28d..05644d6274 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -72,7 +72,6 @@ // #define HAVE_SYSCONF 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 -#define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_STATFS_H 1 // TODO: add proper cmake check // #define HAVE_SYS_SYSINFO_H 1 diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 9c8bbe47d8..4f321dc0b6 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -109,11 +109,6 @@ typedef uint32_t u8char_T; #include <wctype.h> #include <stdarg.h> -#if defined(HAVE_SYS_SELECT_H) && \ - (!defined(HAVE_SYS_TIME_H) || defined(SYS_SELECT_WITH_SYS_TIME)) -# include <sys/select.h> -#endif - /* ================ end of the header file puzzle =============== */ #ifdef HAVE_WORKING_LIBINTL |