From: Willy Tarreau Date: Wed, 10 Aug 2016 16:30:56 +0000 (+0200) Subject: BUILD: log: iovec requires to include sys/uio.h on OpenBSD X-Git-Tag: v1.7-dev4~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=077edcba2e5c25524b720f905417d9f0616cd252;p=thirdparty%2Fhaproxy.git BUILD: log: iovec requires to include sys/uio.h on OpenBSD 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. --- diff --git a/src/log.c b/src/log.c index 302e14a9da..4f4ede9c0f 100644 --- a/src/log.c +++ b/src/log.c @@ -22,6 +22,7 @@ #include #include +#include #include #include