From 5ebd976935ccd45e9b94469934cc37d3376675d2 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 10 Feb 2012 13:58:53 +0100 Subject: [PATCH] * util/import_gcry.py: Include grub/crypto.h in init.c. --- ChangeLog | 4 ++++ util/import_gcry.py | 1 + 2 files changed, 5 insertions(+) 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)