Prefer <fcntl.h> over <sys/fcntl.h>.
<fcntl.h> is the name used by POSIX, so we prefer this and only fall back to <sys/fcntl.h> on non-POSIX systems. Fixes warnings compiling against musl libc. Reported by ncopa. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@531 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Reference in New Issue
Block a user