From 0afb5bc5622e548abe726ebc7be63a0560f32159 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Sat, 22 Mar 2014 22:57:40 -0600 Subject: [PATCH] Portability: detect struct iovec better on OpenBSD --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 1ddc25a9e3..6ab6ce2cd6 100644 --- a/configure.ac +++ b/configure.ac @@ -3209,6 +3209,9 @@ AC_CHECK_TYPE(struct iovec,AC_DEFINE(HAVE_IOVEC,1,[The system provides struct io #if HAVE_WINSOCK2_H #include #endif + #if HAVE_SYS_UIO_H + #include + #endif ]) AC_CHECK_TYPE(struct msghdr,AC_DEFINE(HAVE_MSGHDR,1,[The system provides struct msghdr]),,[ -- 2.47.2