mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4-kdc: added ifdef guards in kdc.h
this prevents too much recursion in the compiler preprocessor
This commit is contained in:
parent
1587b46fa0
commit
bc47af50eb
@ -20,6 +20,9 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _KDC_KDC_H
|
||||
#define _KDC_KDC_H
|
||||
|
||||
#include "system/kerberos.h"
|
||||
#include "auth/kerberos/kerberos.h"
|
||||
#include <hdb.h>
|
||||
@ -50,3 +53,5 @@ bool kpasswdd_process(struct kdc_server *kdc,
|
||||
/* from hdb-samba4.c */
|
||||
NTSTATUS hdb_samba4_create_kdc(struct samba_kdc_base_context *base_ctx,
|
||||
krb5_context context, struct HDB **db);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user