summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-09-07 22:16:45 +0000
committerKen Raeburn <raeburn@mit.edu>2006-09-07 22:16:45 +0000
commit130e21cb2b4e1725ccdd9c18bed032bbd0ec9095 (patch)
tree33a7dc579ead96e2950efe7edbeff3a1dcb809bd /src/include
parenta7855be17da5d0075b8eb44837eb9b54fe26c96d (diff)
downloadkrb5-130e21cb2b4e1725ccdd9c18bed032bbd0ec9095.tar.gz
krb5-130e21cb2b4e1725ccdd9c18bed032bbd0ec9095.tar.xz
krb5-130e21cb2b4e1725ccdd9c18bed032bbd0ec9095.zip
* Makefile.in (krb5/krb5.h): Wrap the content in macro test for
multiple-inclusion protection. ticket: 3522 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18571 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-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 d1c6b4251..02e7b5e9f 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