1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: EINTR is not always defined.
12 Solution: Include errno.h in vim.h.
13 Files: src/if_cscope.c, src/if_tcl.c, src/integration.c, src/memline.c,
14 src/os_mswin.c, src/os_win16.c, src/os_win32.c, src/vim.h,
18 *** ../vim-7.3.086/src/if_cscope.c 2010-12-17 18:06:00.000000000 +0100
19 --- src/if_cscope.c 2010-12-17 20:06:01.000000000 +0100
23 #if defined(FEAT_CSCOPE) || defined(PROTO)
28 #include <sys/types.h>
31 *** ../vim-7.3.086/src/if_tcl.c 2010-08-15 21:57:27.000000000 +0200
32 --- src/if_tcl.c 2010-12-17 20:06:56.000000000 +0100
43 *** ../vim-7.3.086/src/integration.c 2010-08-15 21:57:29.000000000 +0200
44 --- src/integration.c 2010-12-17 20:07:12.000000000 +0100
51 #include <sys/types.h>
52 #include <sys/socket.h>
53 #include <sys/param.h>
55 *** ../vim-7.3.086/src/memline.c 2010-12-17 18:06:00.000000000 +0100
56 --- src/memline.c 2010-12-17 20:07:31.000000000 +0100
59 # include <proto/dos.h> /* for Open() and Close() */
66 typedef struct block0 ZERO_BL; /* contents of the first block */
67 typedef struct pointer_block PTR_BL; /* contents of a pointer block */
68 typedef struct data_block DATA_BL; /* contents of a data block */
70 *** ../vim-7.3.086/src/os_mswin.c 2010-12-17 18:06:00.000000000 +0100
71 --- src/os_mswin.c 2010-12-17 20:08:14.000000000 +0100
76 #include <sys/types.h>
82 *** ../vim-7.3.086/src/os_win16.c 2010-12-17 18:06:00.000000000 +0100
83 --- src/os_win16.c 2010-12-17 20:08:53.000000000 +0100
88 #include <sys/types.h>
94 *** ../vim-7.3.086/src/os_win32.c 2010-12-17 18:06:00.000000000 +0100
95 --- src/os_win32.c 2010-12-17 20:09:18.000000000 +0100
100 #include <sys/types.h>
106 *** ../vim-7.3.086/src/vim.h 2010-12-17 18:06:00.000000000 +0100
107 --- src/vim.h 2010-12-17 20:09:56.000000000 +0100
111 # include <sys/stat.h>
114 + #if defined(HAVE_ERRNO_H) || defined(DJGPP) || defined(WIN16) \
115 + || defined(WIN32) || defined(_WIN64) || defined(__EMX__)
116 + # include <errno.h>
120 * Allow other (non-unix) systems to configure themselves now
121 * These are also in os_unix.h, because osdef.sh needs them there.
122 *** ../vim-7.3.086/src/workshop.c 2010-08-15 21:57:26.000000000 +0200
123 --- src/workshop.c 2010-12-17 20:09:31.000000000 +0100
126 #include <sys/types.h>
128 #include <netinet/in.h>
130 #include <sys/socket.h>
134 *** ../vim-7.3.086/src/version.c 2010-12-17 18:52:56.000000000 +0100
135 --- src/version.c 2010-12-17 20:14:49.000000000 +0100
139 { /* Add new patch number below this line */
145 How To Keep A Healthy Level Of Insanity:
146 17. When the money comes out the ATM, scream "I won!, I won! 3rd
149 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
150 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
151 \\\ an exciting new programming language -- http://www.Zimbu.org ///
152 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///