From: Timo Sirainen Date: Fri, 16 Jul 2010 11:56:50 +0000 (+0100) Subject: configure wasn't compiling fd pass checking program correctly. X-Git-Tag: 2.0.rc3~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e345ae91dff5a8c3ab8f43035d1c4da41d0c8a2d;p=thirdparty%2Fdovecot%2Fcore.git configure wasn't compiling fd pass checking program correctly. --- diff --git a/src/lib/fdpass.c b/src/lib/fdpass.c index c376fca55d..d10aa4d3c1 100644 --- a/src/lib/fdpass.c +++ b/src/lib/fdpass.c @@ -39,6 +39,13 @@ #include "fdpass.h" +#ifndef HAVE_CONFIG_H +struct const_iovec { + const void *iov_base; + size_t iov_len; +}; +#endif + /* RFC 2292 defines CMSG_*() macros, but some operating systems don't have them so we'll define our own if they don't exist.