Put all the IMPORTed headers into the headerfile to avoid hidden depencies.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16859 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-03-30 04:40:52 +00:00
parent c107edc050
commit fb6af46d0e

View File

@@ -62,6 +62,8 @@ add_import (const char *module)
tmp->module = module;
tmp->next = imports;
imports = tmp;
fprintf (headerfile, "#include <%s_asn1.h>\n", module);
}
const char *
@@ -248,10 +250,6 @@ generate_header_of_codefile(const char *name)
"#include <krb5-types.h>\n",
orig_filename);
for (i = imports; i != NULL; i = i->next)
fprintf (codefile,
"#include <%s_asn1.h>\n",
i->module);
fprintf (codefile,
"#include <%s.h>\n",
headerbase);