]> git.proxmox.com Git - efi-boot-shim.git/commitdiff
sbat: make the includes work like everything else.
authorPeter Jones <pjones@redhat.com>
Mon, 15 Feb 2021 17:24:33 +0000 (12:24 -0500)
committerJavier Martinez Canillas <javier@dowhile0.org>
Mon, 15 Feb 2021 17:40:07 +0000 (18:40 +0100)
Signed-off-by: Peter Jones <pjones@redhat.com>
include/sbat.h
sbat.c
shim.h

index ab2325bd0f04c1f0a0a509949e1d97cfd45e13db..39971d9eaada37cfadef4c7a072ffdac86a75f94 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef SBAT_H_
 #define SBAT_H_
 
-#include "shim.h"
-
 struct sbat_entry {
        const CHAR8 *component_name;
        const CHAR8 *component_generation;
diff --git a/sbat.c b/sbat.c
index f64d0f2cc18b61d93d5f0c9f366ada363d78ca5b..3eaecdb894cb084baef241db8642e050eb32aa39 100644 (file)
--- a/sbat.c
+++ b/sbat.c
@@ -3,7 +3,7 @@
  * sbat.c - parse SBAT data from the .sbat section data
  */
 
-#include "sbat.h"
+#include "shim.h"
 
 CHAR8 *
 get_sbat_field(CHAR8 *current, CHAR8 *end, const CHAR8 ** field, char delim)
diff --git a/shim.h b/shim.h
index 872f54d8571b74a0902405e191ad66266640761b..337234e4d4bd534e59c83b638637feabbefe597f 100644 (file)
--- a/shim.h
+++ b/shim.h
 #include "include/peimage.h"
 #include "include/pe.h"
 #include "include/replacements.h"
+#include "include/sbat.h"
 #if defined(OVERRIDE_SECURITY_POLICY)
 #include "include/security_policy.h"
 #endif