summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/kerberos.h5
-rw-r--r--source4/auth/kerberos/krb5_init_context.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h
index 501a4653d7..3f021ad70a 100644
--- a/source4/auth/kerberos/kerberos.h
+++ b/source4/auth/kerberos/kerberos.h
@@ -18,6 +18,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _AUTH_KERBEROS_H_
+#define _AUTH_KERBEROS_H_
+
#if defined(HAVE_KRB5)
#include "auth/kerberos/krb5_init_context.h"
@@ -157,3 +160,5 @@ krb5_error_code smb_krb5_update_keytab(TALLOC_CTX *parent_ctx,
#include "auth/kerberos/proto.h"
#endif /* HAVE_KRB5 */
+
+#endif /* _AUTH_KERBEROS_H_ */
diff --git a/source4/auth/kerberos/krb5_init_context.h b/source4/auth/kerberos/krb5_init_context.h
index 047772c8f7..835438cc5b 100644
--- a/source4/auth/kerberos/krb5_init_context.h
+++ b/source4/auth/kerberos/krb5_init_context.h
@@ -17,6 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _KRB5_INIT_CONTEXT_H_
+#define _KRB5_INIT_CONTEXT_H_
+
struct smb_krb5_context {
krb5_context krb5_context;
krb5_log_facility *logf;
@@ -41,3 +44,5 @@ krb5_error_code smb_krb5_send_and_recv_func(krb5_context context,
time_t timeout,
const krb5_data *send_buf,
krb5_data *recv_buf);
+
+#endif /* _KRB5_INIT_CONTEXT_H_ */