projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35249cb
)
BUILD/MINOR: listener: remove a glibc warning on accept4()
author
Willy Tarreau
<w@1wt.eu>
Tue, 14 Jan 2014 16:52:01 +0000
(17:52 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 14 Jan 2014 16:54:12 +0000
(17:54 +0100)
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
patch
|
blob
|
history
diff --git
a/src/listener.c
b/src/listener.c
index
afd6ae2
..
e5e723f
100644
(file)
--- a/
src/listener.c
+++ b/
src/listener.c
@@
-10,6
+10,7
@@
*
*/
+#define _GNU_SOURCE
#include <errno.h>
#include <stdio.h>
#include <string.h>