]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/MINOR: listener: remove a glibc warning on accept4()
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Jan 2014 16:52:01 +0000 (17:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Jan 2014 16:54:12 +0000 (17:54 +0100)
commit4448925930655dec57847ed41a34a24a8169d053
treed7d611574a259b949432854df31056e8361bba65
parent35249cb0452213d7f1f10067eeffe25eac5d8384
BUILD/MINOR: listener: remove a glibc warning on accept4()

The accept4() Linux syscall requires _GNU_SOURCE on ix86, otherwise
it emits a warning. On other archs including x86_64, this problem
doesn't happen. Thanks to Charles Carter from Sigma Software for
reporting this.
src/listener.c