From: Andrew Date: Mon, 3 Nov 2025 13:53:00 +0000 (+0000) Subject: lib: fix gssapi.h include on IBMi X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d99cf07618d240c265aaf6795df3ef3b8ea7ceb;p=thirdparty%2Fcurl.git lib: fix gssapi.h include on IBMi Fixes #19336 Closes #19337 --- diff --git a/lib/config-os400.h b/lib/config-os400.h index bccdb4a897..b08400fe97 100644 --- a/lib/config-os400.h +++ b/lib/config-os400.h @@ -102,6 +102,9 @@ /* Define if you have GSS API. */ #define HAVE_GSSAPI +/* Define if you have the header file. */ +#define HAVE_GSSAPI_H + /* Define if you have the GNU gssapi libraries */ #undef HAVE_GSSGNU diff --git a/lib/urldata.h b/lib/urldata.h index f79ccca0ac..f92bfcb3b2 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -191,7 +191,11 @@ typedef CURLcode (Curl_recv)(struct Curl_easy *data, /* transfer */ # ifdef HAVE_GSSGNU # include # else -# include +# ifdef HAVE_GSSAPI_H +# include +# else +# include +# endif # endif #endif diff --git a/lib/vauth/vauth.h b/lib/vauth/vauth.h index 2ba8e471dc..51b9f41c1b 100644 --- a/lib/vauth/vauth.h +++ b/lib/vauth/vauth.h @@ -237,7 +237,11 @@ CURLcode Curl_auth_create_xoauth_bearer_message(const char *user, # ifdef HAVE_GSSGNU # include # else -# include +# ifdef HAVE_GSSAPI_H +# include +# else +# include +# endif # endif #endif diff --git a/lib/version.c b/lib/version.c index 4c7e5712f0..f02b92fedf 100644 --- a/lib/version.c +++ b/lib/version.c @@ -81,7 +81,11 @@ # ifdef HAVE_GSSGNU # include # else -# include +# ifdef HAVE_GSSAPI_H +# include +# else +# include +# endif # endif #endif