summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-15 14:05:42 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 05:07:01 +0100
commitb2b41a5087d2d20180a3dd7176d9978f2d677ab5 (patch)
tree1cb5feb80febff50d40afb6e24cc3a085a419028
parent1404a9fe72b2eeb116cfff778408f1671a8a4512 (diff)
downloadsamba-b2b41a5087d2d20180a3dd7176d9978f2d677ab5.tar.gz
samba-b2b41a5087d2d20180a3dd7176d9978f2d677ab5.tar.bz2
samba-b2b41a5087d2d20180a3dd7176d9978f2d677ab5.zip
libcli: protect access_check.h against double inclusion
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 15 05:07:01 CET 2011 on sn-devel-104
-rw-r--r--libcli/security/access_check.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/security/access_check.h b/libcli/security/access_check.h
index c4923ebc71..dccc117cd5 100644
--- a/libcli/security/access_check.h
+++ b/libcli/security/access_check.h
@@ -20,6 +20,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _ACCESS_CHECK_H_
+#define _ACCESS_CHECK_H_
#include "librpc/gen_ndr/security.h"
@@ -76,3 +78,4 @@ struct object_tree *get_object_tree_by_GUID(struct object_tree *root,
/* Change the granted access per each ACE */
void object_tree_modify_access(struct object_tree *root,
uint32_t access_mask);
+#endif