From 599495b06cc21172144abd3c9248340e0f2f2234 Mon Sep 17 00:00:00 2001
From: Simon Kuhnle <simon@blarzwurst.de>
Date: Fri, 4 Jan 2013 14:07:34 +0100
Subject: [PATCH] core: add missing include on OpenBSD

sys/uio.h needs to be included explicitly

Signed-off-by: Simon Kuhnle <simon@blarzwurst.de>
---
 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 6e37659..a624473 100644
--- a/src/core/wee-network.c
+++ b/src/core/wee-network.c
@@ -38,6 +38,9 @@
 #include <errno.h>
 #include <gcrypt.h>
 #include <sys/time.h>
+#if defined(__OpenBSD__)
+#include <sys/uio.h>
+#endif
 
 #ifdef HAVE_GNUTLS
 #include <gnutls/gnutls.h>
-- 
1.7.10.4

