summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-27 21:03:14 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-27 22:55:04 -0700
commitbc47af50eb0896c108b7acc5323a897e27120252 (patch)
tree16031c4fb8522926d14b641b124e70479bae1999 /source4
parent1587b46fa0f403578f7198a4e7c7ef603aaa5598 (diff)
downloadsamba-bc47af50eb0896c108b7acc5323a897e27120252.tar.gz
samba-bc47af50eb0896c108b7acc5323a897e27120252.tar.bz2
samba-bc47af50eb0896c108b7acc5323a897e27120252.zip
s4-kdc: added ifdef guards in kdc.h
this prevents too much recursion in the compiler preprocessor
Diffstat (limited to 'source4')
-rw-r--r--source4/kdc/kdc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/kdc/kdc.h b/source4/kdc/kdc.h
index 0551063aa7..6a2df1bc2c 100644
--- a/source4/kdc/kdc.h
+++ b/source4/kdc/kdc.h
@@ -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