s3:registry: protect registry.h from multiple inclusion
authorMichael Adam <obnox@samba.org>
Sun, 23 May 2010 11:32:08 +0000 (13:32 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 25 May 2010 08:35:24 +0000 (10:35 +0200)
source3/include/registry.h

index 564481945b485b462d33611825d67e1c96815618..bb58b402fa72b532f10719b715bdd0944176ed8d 100644 (file)
@@ -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 */