From c01c000b1631591a2b7d78450fee5bf21990e993 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 28 Jul 2011 14:03:07 -0700 Subject: Avoid a "shadows global declaration" warning on old MIT Kerberos Defining NCOMPAT eliminates the backwards-compatibility macros that are the source of the problem and which we don't need, anyway. --- lib/http_negotiate.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/http_negotiate.c') diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index d7bc67955..695ab167e 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -25,6 +25,7 @@ #ifdef HAVE_GSSAPI #ifdef HAVE_OLD_GSSMIT #define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name +#define NCOMPAT 1 #endif #ifndef CURL_DISABLE_HTTP -- cgit v1.2.3