summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/script/mkproto.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index e5f0c11477..5505878b37 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -2,10 +2,16 @@ BEGIN {
inheader=0;
# use_ldap_define = 0;
current_file="";
+ print "#ifndef _PROTO_H_"
+ print "#define _PROTO_H_"
print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */"
print ""
}
+END {
+ print "#endif /* _PROTO_H_ */"
+}
+
{
if (FILENAME!=current_file) {
# if (use_ldap_define)