diff options
-rw-r--r-- | src/if_cscope.c | 2 | ||||
-rw-r--r-- | src/if_tcl.c | 1 | ||||
-rw-r--r-- | src/integration.c | 1 | ||||
-rw-r--r-- | src/memline.c | 4 | ||||
-rw-r--r-- | src/os_mswin.c | 1 | ||||
-rw-r--r-- | src/os_win16.c | 1 | ||||
-rw-r--r-- | src/os_win32.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim.h | 5 | ||||
-rw-r--r-- | src/workshop.c | 1 |
10 files changed, 7 insertions, 12 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index bc8ea9463..8867f6385 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -13,8 +13,6 @@ #if defined(FEAT_CSCOPE) || defined(PROTO) -#include <string.h> -#include <errno.h> #include <assert.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/src/if_tcl.c b/src/if_tcl.c index f87407d4f..e5eee2926 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -74,7 +74,6 @@ TODO: #endif #include <tcl.h> -#include <errno.h> #include <string.h> typedef struct diff --git a/src/integration.c b/src/integration.c index 8de684c07..3f38c55e5 100644 --- a/src/integration.c +++ b/src/integration.c @@ -33,7 +33,6 @@ #include <sys/un.h> #endif -#include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/param.h> diff --git a/src/memline.c b/src/memline.c index d978b9020..0beaf5472 100644 --- a/src/memline.c +++ b/src/memline.c @@ -52,10 +52,6 @@ # include <proto/dos.h> /* for Open() and Close() */ #endif -#ifdef HAVE_ERRNO_H -# include <errno.h> -#endif - typedef struct block0 ZERO_BL; /* contents of the first block */ typedef struct pointer_block PTR_BL; /* contents of a pointer block */ typedef struct data_block DATA_BL; /* contents of a data block */ diff --git a/src/os_mswin.c b/src/os_mswin.c index 7dcc05369..0b9dfd91e 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -30,7 +30,6 @@ # include <string.h> #endif #include <sys/types.h> -#include <errno.h> #include <signal.h> #include <limits.h> #include <process.h> diff --git a/src/os_win16.c b/src/os_win16.c index 66ca198ed..c4d9cfc88 100644 --- a/src/os_win16.c +++ b/src/os_win16.c @@ -25,7 +25,6 @@ #include <dos.h> #include <string.h> #include <sys/types.h> -#include <errno.h> #include <signal.h> #include <limits.h> #include <process.h> diff --git a/src/os_win32.c b/src/os_win32.c index dcf95ee27..30b725d4c 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -27,7 +27,6 @@ #endif #include <sys/types.h> -#include <errno.h> #include <signal.h> #include <limits.h> #include <process.h> diff --git a/src/version.c b/src/version.c index d3ad47092..8c5122603 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 87, +/**/ 86, /**/ 85, @@ -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. diff --git a/src/workshop.c b/src/workshop.c index 89f55efc7..e0db10ec7 100644 --- a/src/workshop.c +++ b/src/workshop.c @@ -16,7 +16,6 @@ #include <sys/types.h> #include <netdb.h> #include <netinet/in.h> -#include <errno.h> #include <sys/socket.h> #ifdef HAVE_LIBGEN_H # include <libgen.h> |