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:
Kevin Easton
2014-11-06 10:44:07 +00:00
parent bb5e9920d2
commit 137fbd9b85
3 changed files with 12 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
[Changes 1.2c01]
* Prefer <fcntl.h> over <sys/fcntl.h> (reported by ncopa). (caf)
* Fix overflow in say() when handling a maximum-length client message. (caf)
* Remove WANT_CHAN_NICK_SERV define and include network services commands