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, 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 define of O_NOFOLLOW?

-- 
hundred-and-one symptoms of being an internet addict:
154. You fondle your mouse.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to