summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/include/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/Makefile.in b/src/include/Makefile.in
index d1c6b4251d..02e7b5e9f4 100644
--- a/src/include/Makefile.in
+++ b/src/include/Makefile.in
@@ -79,8 +79,11 @@ krb5/krb5.h: $(srcdir)/krb5/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h krb524_err
if cmp -s krb5.h $(srcdir)/krb5.h; then :; else rm -f krb5.h; fi; \
else :; fi
echo "/* This file is generated, please don't edit it directly. */" > krb5/krb5.h
+ echo "#ifndef KRB5_KRB5_H_INCLUDED" >> krb5/krb5.h
+ echo "#define KRB5_KRB5_H_INCLUDED" >> krb5/krb5.h
cat $(srcdir)/krb5/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h krb524_err.h \
asn1_err.h >> krb5/krb5.h
+ echo "#endif /* KRB5_KRB5_H_INCLUDED */" >> krb5/krb5.h
verify-calling-conventions-krb5: krb5/krb5.h
$(PERL) -w $(SRCTOP)/util/def-check.pl krb5/krb5.h $(SRCTOP)/lib/krb5_32.def