From 1c17274178c432275d258ef0843d4bfbc999a450 Mon Sep 17 00:00:00 2001 From: Simon Kuhnle Date: Fri, 4 Jan 2013 17:52:35 +0100 Subject: [PATCH] core: fix compilation on OpenBSD (bug #38022) File "sys/uio.h" needs to be included explicitly for use of "struct iovec" on OpenBSD. Signed-off-by: Simon Kuhnle --- src/core/wee-network.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/wee-network.c b/src/core/wee-network.c index 6e37659aa..a6244730e 100644 --- a/src/core/wee-network.c +++ b/src/core/wee-network.c @@ -38,6 +38,9 @@ #include #include #include +#if defined(__OpenBSD__) +#include +#endif #ifdef HAVE_GNUTLS #include