s3:smbd/proto.h: add _SMBD_PROTO_H_ guard (cherry picked from commit 2e6f8f7bdadd4b6e...
authorMichael Adam <obnox@samba.org>
Mon, 30 May 2011 22:13:15 +0000 (00:13 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 18:13:50 +0000 (20:13 +0200)
source3/smbd/proto.h

index 1250f27b83308e8714ecbf99a8c01e45c3748f1c..73644793fa775c8b489e4549edc9cf7b41120578 100644 (file)
@@ -43,6 +43,9 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef _SMBD_PROTO_H_
+#define _SMBD_PROTO_H_
+
 /* The following definitions come from smbd/signing.c  */
 
 struct smbd_server_connection;
@@ -1180,3 +1183,5 @@ void *avahi_start_register(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
 /* The following definitions come from smbd/msg_idmap.c */
 
 void msg_idmap_register_msgs(struct messaging_context *ctx);
+
+#endif /* _SMBD_PROTO_H_ */