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.
This commit is contained in:
Willy Tarreau 2016-08-10 18:30:56 +02:00
parent a6e3be7ae9
commit 077edcba2e

View File

@ -22,6 +22,7 @@
#include <errno.h>
#include <sys/time.h>
#include <sys/uio.h>
#include <common/config.h>
#include <common/compat.h>