You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2016/04/17 22:54:17 UTC
svn commit: r1739656 -
/subversion/trunk/subversion/include/private/svn_wrapped_sasl.h
Author: brane
Date: Sun Apr 17 20:54:17 2016
New Revision: 1739656
URL: http://svn.apache.org/viewvc?rev=1739656&view=rev
Log:
Make sure 'struct iovec' is defined for SASL on Windows.
* subversion/include/private/svn_wrapped_sasl.h:
On Windows, get the iovec struct declaration from APR.
Modified:
subversion/trunk/subversion/include/private/svn_wrapped_sasl.h
Modified: subversion/trunk/subversion/include/private/svn_wrapped_sasl.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_wrapped_sasl.h?rev=1739656&r1=1739655&r2=1739656&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_wrapped_sasl.h (original)
+++ subversion/trunk/subversion/include/private/svn_wrapped_sasl.h Sun Apr 17 20:54:17 2016
@@ -25,8 +25,10 @@
#define SVN_WRAPPED_SASL_H
#ifdef WIN32
-/* This prevents sasl.h from redefining iovec,
- which is always defined by APR on win32. */
+# define APR_WANT_IOVEC
+# include <apr_want.h>
+ /* This prevents sasl.h from redefining iovec,
+ which is always defined by APR on win32. */
# define STRUCT_IOVEC_DEFINED
# include <sasl.h>
#else