curl-library
libcurl build with -enable-sspi on MinGW/MSYS
Date: Sat, 07 Mar 2009 09:42:48 +0100
Hi,
I was just compiling libcurl on my MinGW/MSYS build environment (on
Windows) with the -enable-sspi configure option.
However there were a lot of errors that UNICODE_STRING was not defined.
I was able to get around this by simply including subauth.h before other
header files that refer to it. Below is the patch for my changes.
I'm not sure if this fix would be needed on other win32 build
environments, but if not it may be better to #ifdef __MINGW32__ around
the added line.
Please consider including this patch.
Regards
Brecht Sanders
--- lib/curl_sspi.h Fri Jan 30 08:13:18 2009
+++ lib/curl_sspi.h Sat Mar 7 09:28:29 2009
@@ -39,2 +39,3 @@
#define SECURITY_WIN32 1
+#include <subauth.h>
#include <security.h>
Received on 2009-03-07