diff --git a/ChangeLog b/ChangeLog index 45ef6b183..1e710cee6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-10 Vladimir Serbinenko + + * util/import_gcry.py: Include grub/crypto.h in init.c. + 2012-02-10 Vladimir Serbinenko * util/grub-mkimage.c (compress_kernel_lzma): Respect format security. diff --git a/util/import_gcry.py b/util/import_gcry.py index e55ffd97b..b7bf7ca5f 100644 --- a/util/import_gcry.py +++ b/util/import_gcry.py @@ -372,6 +372,7 @@ outfile = os.path.join (cipher_dir_out, "ChangeLog") conf.close (); initfile = codecs.open (os.path.join (cipher_dir_out, "init.c"), "w", "utf-8") +initfile.write ("#include \n") for module in modules: initfile.write ("extern void grub_%s_init (void);\n" % module) initfile.write ("extern void grub_%s_fini (void);\n" % module)