s3: add _LIB_IDMAP_CACHE_H_ guard to lib/idmap_cache.h (cherry picked from commit...
authorMichael Adam <obnox@samba.org>
Tue, 31 May 2011 11:19:52 +0000 (13:19 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 18:14:15 +0000 (20:14 +0200)
source3/lib/idmap_cache.h

index c3e44c28879de2a84fdff4a8b6dab0e635ee83ab..1a62dba64fc0d5ed133bfc60e5eeb90db7feb883 100644 (file)
@@ -18,6 +18,9 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef _LIB_IDMAP_CACHE_H_
+#define _LIB_IDMAP_CACHE_H_
+
 /* The following definitions come from lib/idmap_cache.c  */
 
 bool idmap_cache_find_sid2uid(const struct dom_sid *sid, uid_t *puid,
@@ -32,3 +35,5 @@ void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid);
 bool idmap_cache_del_uid(uid_t uid);
 bool idmap_cache_del_gid(gid_t gid);
 bool idmap_cache_del_sid(const struct dom_sid *sid);
+
+#endif /* _LIB_IDMAP_CACHE_H_ */