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:
a6e3be7
)
BUILD: log: iovec requires to include sys/uio.h on OpenBSD
author
Willy Tarreau
<w@1wt.eu>
Wed, 10 Aug 2016 16:30:56 +0000
(18:30 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 10 Aug 2016 17:32:06 +0000
(19:32 +0200)
The following commit merged into 1.6-dev6 broke the build on OpenBSD :
609ac2a ("MEDIUM: log: replace sendto() with sendmsg() in __send_log()")
Including sys/uio.h is enough to fix this. This fix needs to be backported
to 1.6.
src/log.c
patch
|
blob
|
history
diff --git
a/src/log.c
b/src/log.c
index
302e14a
..
4f4ede9
100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-22,6
+22,7
@@
#include <errno.h>
#include <sys/time.h>
+#include <sys/uio.h>
#include <common/config.h>
#include <common/compat.h>