summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-13 14:54:51 +0200
committerGünther Deschner <gd@samba.org>2011-10-14 12:07:24 +0200
commitd47c25401a9a553f39be9adf079dc7c462244d81 (patch)
tree8eccdfa549fd24621b3ebd350586bb7220111173 /source3/passdb
parent2a5affffff2beca0958b10cfd652f63825104c8a (diff)
downloadsamba-d47c25401a9a553f39be9adf079dc7c462244d81.tar.gz
samba-d47c25401a9a553f39be9adf079dc7c462244d81.tar.bz2
samba-d47c25401a9a553f39be9adf079dc7c462244d81.zip
s3-passdb: add define guards for machine_sid.h.
Guenther
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/machine_sid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/passdb/machine_sid.h b/source3/passdb/machine_sid.h
index 12fde2f3ac..03f4754adc 100644
--- a/source3/passdb/machine_sid.h
+++ b/source3/passdb/machine_sid.h
@@ -22,7 +22,12 @@
/* The following definitions come from passdb/machine_sid.c */
+#ifndef _PASSDB_MACHINE_SID_H_
+#define _PASSDB_MACHINE_SID_H_
+
struct dom_sid *get_global_sam_sid(void);
void reset_global_sam_sid(void) ;
bool sid_check_is_domain(const struct dom_sid *sid);
bool sid_check_is_in_our_domain(const struct dom_sid *sid);
+
+#endif /* _PASSDB_MACHINE_SID_H_ */