Re: warnings: O_NOFOLLOW redefined.

2006-11-06 Thread Bram Moolenaar
Maurice Barnum wrote: > Bram Moolenaar <[EMAIL PROTECTED]> writes: > > : Including fcntl.h was needed in only a few files in the past, that's why > : it's included in individual .c files. But we might as well move it to > : vim.h now, since it's used by quite few .c files. > > > : Did you try i

Re: warnings: O_NOFOLLOW redefined.

2006-11-05 Thread maurice barnum
Bram Moolenaar <[EMAIL PROTECTED]> writes: : Including fcntl.h was needed in only a few files in the past, that's why : it's included in individual .c files. But we might as well move it to : vim.h now, since it's used by quite few .c files. > : Did you try including fcntl.h in vim.h, before the

Re: warnings: O_NOFOLLOW redefined.

2006-11-05 Thread Bram Moolenaar
Pixi Burble wrote: > building vim-7.0.152 on freebsd-4.10 results in warnings about > O_NOFOLLOW being redefined by vim.h. the attached patch fixes > it. i've also compiled with this patch on linux (glibc-2.4), > but nowhere else. Including fcntl.h was needed in only a few files in the past, t

warnings: O_NOFOLLOW redefined.

2006-11-03 Thread pixi
building vim-7.0.152 on freebsd-4.10 results in warnings about O_NOFOLLOW being redefined by vim.h. the attached patch fixes it. i've also compiled with this patch on linux (glibc-2.4), but nowhere else. diff -r 8fa2beaad0d3 src/os_unix.h --- a/src/os_unix.h Fri Nov 03 08:31:12 2006 + +++ b