1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

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 <simon@blarzwurst.de>
This commit is contained in:
Simon Kuhnle
2013-01-04 17:52:35 +01:00
committed by Sebastien Helleu
parent da56eb6978
commit 1c17274178
+3
View File
@@ -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>