diff options
author | Yang Tse <yangsita@gmail.com> | 2008-05-26 03:10:34 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-05-26 03:10:34 +0000 |
commit | c57e748107935f94a16cda112f3b5dfce9a93481 (patch) | |
tree | c187e66a49972aad386e3927c94eaa5b9003c71c /lib | |
parent | d6f8f1606850c8d814dec0dd65818960af88bbca (diff) |
David Rosenstrauch reported that header files spnegohelp.h and
openssl/objects.h were needed to compile SPNEGO support.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http_negotiate.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index e7f934824..9644a751c 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -42,6 +42,15 @@ #include "http_negotiate.h" #include "memory.h" +#ifdef HAVE_SPNEGO +# include <spnegohelp.h> +# if defined(USE_OPENSSL) && !defined(USE_YASSLEMUL) +# include <openssl/objects.h> +# else +# error "Can't compile SPNEGO support without OpenSSL." +# endif +#endif + #define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> |