mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
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
This commit is contained in:

committed by
Justin M. Keyes

parent
7d3666a123
commit
11653ce2d7
@@ -72,7 +72,6 @@
|
|||||||
// #define HAVE_SYSCONF 1
|
// #define HAVE_SYSCONF 1
|
||||||
#define HAVE_SYS_IOCTL_H 1
|
#define HAVE_SYS_IOCTL_H 1
|
||||||
#define HAVE_SYS_PARAM_H 1
|
#define HAVE_SYS_PARAM_H 1
|
||||||
#define HAVE_SYS_SELECT_H 1
|
|
||||||
#define HAVE_SYS_STATFS_H 1
|
#define HAVE_SYS_STATFS_H 1
|
||||||
// TODO: add proper cmake check
|
// TODO: add proper cmake check
|
||||||
// #define HAVE_SYS_SYSINFO_H 1
|
// #define HAVE_SYS_SYSINFO_H 1
|
||||||
|
@@ -109,11 +109,6 @@ typedef uint32_t u8char_T;
|
|||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
#include <stdarg.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 =============== */
|
/* ================ end of the header file puzzle =============== */
|
||||||
|
|
||||||
#ifdef HAVE_WORKING_LIBINTL
|
#ifdef HAVE_WORKING_LIBINTL
|
||||||
|
Reference in New Issue
Block a user