mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
#if defined(FEAT_CSCOPE) || defined(PROTO)
|
#if defined(FEAT_CSCOPE) || defined(PROTO)
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@@ -74,7 +74,6 @@ TODO:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <tcl.h>
|
#include <tcl.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@@ -33,7 +33,6 @@
|
|||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@@ -52,10 +52,6 @@
|
|||||||
# include <proto/dos.h> /* for Open() and Close() */
|
# include <proto/dos.h> /* for Open() and Close() */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ERRNO_H
|
|
||||||
# include <errno.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct block0 ZERO_BL; /* contents of the first block */
|
typedef struct block0 ZERO_BL; /* contents of the first block */
|
||||||
typedef struct pointer_block PTR_BL; /* contents of a pointer block */
|
typedef struct pointer_block PTR_BL; /* contents of a pointer block */
|
||||||
typedef struct data_block DATA_BL; /* contents of a data block */
|
typedef struct data_block DATA_BL; /* contents of a data block */
|
||||||
|
@@ -30,7 +30,6 @@
|
|||||||
# include <string.h>
|
# include <string.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
|
@@ -25,7 +25,6 @@
|
|||||||
#include <dos.h>
|
#include <dos.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
|
@@ -27,7 +27,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
87,
|
||||||
/**/
|
/**/
|
||||||
86,
|
86,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -480,6 +480,11 @@ typedef unsigned long u8char_T; /* long should be 32 bits or more */
|
|||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
#endif
|
#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
|
* Allow other (non-unix) systems to configure themselves now
|
||||||
* These are also in os_unix.h, because osdef.sh needs them there.
|
* These are also in os_unix.h, because osdef.sh needs them there.
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <errno.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#ifdef HAVE_LIBGEN_H
|
#ifdef HAVE_LIBGEN_H
|
||||||
# include <libgen.h>
|
# include <libgen.h>
|
||||||
|
Reference in New Issue
Block a user