0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.087

Problem:    EINTR is not always defined.
Solution:   Include errno.h in vim.h.
This commit is contained in:
Bram Moolenaar
2010-12-17 20:24:01 +01:00
parent f82a2d2e5f
commit b57aa92d2c
10 changed files with 7 additions and 12 deletions

View File

@@ -480,6 +480,11 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
# include <sys/stat.h>
#endif
#if defined(HAVE_ERRNO_H) || defined(DJGPP) || defined(WIN16) \
|| defined(WIN32) || defined(_WIN64) || defined(__EMX__)
# include <errno.h>
#endif
/*
* Allow other (non-unix) systems to configure themselves now
* These are also in os_unix.h, because osdef.sh needs them there.