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:
committed by
Sebastien Helleu
parent
da56eb6978
commit
1c17274178
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user