summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-23 13:32:08 +0200
committerMichael Adam <obnox@samba.org>2010-05-25 10:35:24 +0200
commit9c5d7c789664d15017a837ad735b79e3b0ea4479 (patch)
treed98136c133404e8743d7abe94fee2dc78c641ab8
parentd59d9dfb90c67a5332ca76f38702ba6bacc0da76 (diff)
downloadsamba-9c5d7c789664d15017a837ad735b79e3b0ea4479.tar.gz
samba-9c5d7c789664d15017a837ad735b79e3b0ea4479.tar.bz2
samba-9c5d7c789664d15017a837ad735b79e3b0ea4479.zip
s3:registry: protect registry.h from multiple inclusion
-rw-r--r--source3/include/registry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/registry.h b/source3/include/registry.h
index 564481945b..bb58b402fa 100644
--- a/source3/include/registry.h
+++ b/source3/include/registry.h
@@ -1,3 +1,6 @@
+#ifndef _REGISTRY_H
+#define _REGISTRY_H
+
#include "reg_objects.h"
/* The following definitions come from registry/reg_api.c */
@@ -186,3 +189,4 @@ WERROR registry_push_value(TALLOC_CTX *mem_ctx,
const struct registry_value *value,
DATA_BLOB *presult);
+#endif /* _REGISTRY_H */