← Commit list

2d99cf0761

Andrew
Andrew
2025-11-08
SUCCESS Duration: 140s

Subject

lib: fix gssapi.h include on IBMi

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/config-os400.h+3 -0
@@ -102,6 +102,9 @@
/* Define if you have GSS API. */
#define HAVE_GSSAPI
+/* Define if you have the <gssapi.h> header file. */
+#define HAVE_GSSAPI_H
+
/* Define if you have the GNU gssapi libraries */
#undef HAVE_GSSGNU
lib/urldata.h+5 -1
@@ -191,7 +191,11 @@ typedef CURLcode (Curl_recv)(struct Curl_easy *data, /* transfer */
# ifdef HAVE_GSSGNU
# include <gss.h>
# else
-# include <gssapi/gssapi.h>
+# ifdef HAVE_GSSAPI_H
+# include <gssapi.h>
+# else
+# include <gssapi/gssapi.h>
+# endif
# endif
#endif
lib/vauth/vauth.h+5 -1
@@ -237,7 +237,11 @@ CURLcode Curl_auth_create_xoauth_bearer_message(const char *user,
# ifdef HAVE_GSSGNU
# include <gss.h>
# else
-# include <gssapi/gssapi.h>
+# ifdef HAVE_GSSAPI_H
+# include <gssapi.h>
+# else
+# include <gssapi/gssapi.h>
+# endif
# endif
#endif
lib/version.c+5 -1
@@ -81,7 +81,11 @@
# ifdef HAVE_GSSGNU
# include <gss.h>
# else
-# include <gssapi/gssapi.h>
+# ifdef HAVE_GSSAPI_H
+# include <gssapi.h>
+# else
+# include <gssapi/gssapi.h>
+# endif
# endif
#endif