From 4310866a143aa94938f3c4f9eb61002ce64b6cc6 Mon Sep 17 00:00:00 2001 From: Leif Lindholm Date: Wed, 14 Nov 2018 19:29:15 +0000 Subject: [PATCH] include/grub/verify.h: Add include guard verify.h was added without include guards. This means compiling anything including both include/grub/verify.h and include/grub/lib/cmdline.h fails (at least grub-core/loader/arm64/linux.c. Add the necessary include guard. Signed-off-by: Leif Lindholm Reviewed-by: Daniel Kiper --- include/grub/verify.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/grub/verify.h b/include/grub/verify.h index 79022b422..3d8f3e1a4 100644 --- a/include/grub/verify.h +++ b/include/grub/verify.h @@ -16,6 +16,9 @@ * along with GRUB. If not, see . */ +#ifndef GRUB_VERIFY_HEADER +#define GRUB_VERIFY_HEADER 1 + #include #include @@ -76,3 +79,5 @@ grub_verifier_unregister (struct grub_file_verifier *ver) grub_err_t grub_verify_string (char *str, enum grub_verify_string_type type); + +#endif /* ! GRUB_VERIFY_HEADER */