samba: qualify required gssapi.h

Inconsistent builds with samba 4.16 with the wrong gssapi.h being picked
up. This is a workaround, and being raised upstream.

[1800/2511] Compiling source3/lib/smbd_shim.c
In file included from ../../third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h:40,
                 from ../../lib/replace/system/gssapi.h:43,
                 from ../../lib/krb5_wrap/gss_samba.h:27,
                 from ../../auth/kerberos/pac_utils.h:27,
                 from ../../auth/kerberos/gssapi_pac.c:28:
../../third_party/heimdal/lib/gssapi/gssapi/gssapi_oid.h:9:8: error: unknown type name 'GSSAPI_LIB_VARIABLE'
    9 | extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_krb5_copy_ccache_x_oid_desc;
      |        ^~~~~~~~~~~~~~~~~~~
This commit is contained in:
Rudi Heitbaum 2022-03-22 21:43:56 +00:00
parent e5830dc584
commit 810be4a5b9

View File

@ -0,0 +1,11 @@
--- a/third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h 2022-03-08 14:53:05.742089500 +0000
+++ b/third_party/heimdal/lib/gssapi/gssapi/gssapi_krb5.h 2022-03-08 14:53:05.742089500 +0000
@@ -36,7 +36,7 @@
#ifndef GSSAPI_KRB5_H_
#define GSSAPI_KRB5_H_
-#include <gssapi.h>
+#include <gssapi/gssapi/gssapi.h>
#include <gssapi/gssapi_oid.h>
GSSAPI_CPP_START