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:
@@ -62,6 +62,8 @@ add_import (const char *module)
|
|||||||
tmp->module = module;
|
tmp->module = module;
|
||||||
tmp->next = imports;
|
tmp->next = imports;
|
||||||
imports = tmp;
|
imports = tmp;
|
||||||
|
|
||||||
|
fprintf (headerfile, "#include <%s_asn1.h>\n", module);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
@@ -248,10 +250,6 @@ generate_header_of_codefile(const char *name)
|
|||||||
"#include <krb5-types.h>\n",
|
"#include <krb5-types.h>\n",
|
||||||
orig_filename);
|
orig_filename);
|
||||||
|
|
||||||
for (i = imports; i != NULL; i = i->next)
|
|
||||||
fprintf (codefile,
|
|
||||||
"#include <%s_asn1.h>\n",
|
|
||||||
i->module);
|
|
||||||
fprintf (codefile,
|
fprintf (codefile,
|
||||||
"#include <%s.h>\n",
|
"#include <%s.h>\n",
|
||||||
headerbase);
|
headerbase);
|
||||||
|
Reference in New Issue
Block a user