libcli: protect access_check.h against double inclusion
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 03:05:42 +0000 (14:05 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Mar 2011 04:07:01 +0000 (05:07 +0100)
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 15 05:07:01 CET 2011 on sn-devel-104

libcli/security/access_check.h

index c4923ebc714bb8e1886a1285849fd2d172f1df34..dccc117cd5b0983adfde6b3d931f930df56d4825 100644 (file)
@@ -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