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 <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Leif Lindholm 2018-11-14 19:29:15 +00:00 committed by Daniel Kiper
parent c0a9f53478
commit a5d865a039

View file

@ -16,6 +16,9 @@
* along with GRUB. If not, see <http://www.gnu.org/licenses/>. * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef GRUB_VERIFY_HEADER
#define GRUB_VERIFY_HEADER 1
#include <grub/file.h> #include <grub/file.h>
#include <grub/list.h> #include <grub/list.h>
@ -76,3 +79,5 @@ grub_verifier_unregister (struct grub_file_verifier *ver)
grub_err_t grub_err_t
grub_verify_string (char *str, enum grub_verify_string_type type); grub_verify_string (char *str, enum grub_verify_string_type type);
#endif /* ! GRUB_VERIFY_HEADER */