From 594e3161810ba5a57ce5a3c88a8cd89b11d04650 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 24 Apr 2012 19:37:13 +0300 Subject: lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104 --- auth/credentials/credentials_krb5.c | 1 + auth/kerberos/gssapi_pac.c | 1 - auth/kerberos/pac_utils.h | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'auth') diff --git a/auth/credentials/credentials_krb5.c b/auth/credentials/credentials_krb5.c index 480d7c5951..86b33d4998 100644 --- a/auth/credentials/credentials_krb5.c +++ b/auth/credentials/credentials_krb5.c @@ -23,6 +23,7 @@ #include "includes.h" #include "system/kerberos.h" +#include "system/gssapi.h" #include "auth/kerberos/kerberos.h" #include "auth/credentials/credentials.h" #include "auth/credentials/credentials_proto.h" diff --git a/auth/kerberos/gssapi_pac.c b/auth/kerberos/gssapi_pac.c index d1a79501cc..dadae1afa2 100644 --- a/auth/kerberos/gssapi_pac.c +++ b/auth/kerberos/gssapi_pac.c @@ -21,7 +21,6 @@ #include "includes.h" #ifdef HAVE_KRB5 -#include "lib/krb5_wrap/krb5_samba.h" #include "auth/kerberos/pac_utils.h" #if 0 diff --git a/auth/kerberos/pac_utils.h b/auth/kerberos/pac_utils.h index bb954597f5..7726f52775 100644 --- a/auth/kerberos/pac_utils.h +++ b/auth/kerberos/pac_utils.h @@ -22,6 +22,8 @@ #define _PAC_UTILS_H #include "lib/krb5_wrap/krb5_samba.h" +#include "system/gssapi.h" + struct PAC_SIGNATURE_DATA; struct PAC_DATA; -- cgit