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 define of O_NOFOLLOW?
no. that would work, too. i put it in os_unix.h because it seemed to be the right place to include a unix specific header and it was included by vim.h before the define. it wasn't clear to me when a system specific header is included in vim.h, and when it comes from os_*.h.