From 5fb5537fa9bec93e52a92cf820d362e6a9c56c1c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 15 Feb 2021 12:24:33 -0500 Subject: [PATCH] sbat: make the includes work like everything else. Signed-off-by: Peter Jones --- include/sbat.h | 2 -- sbat.c | 2 +- shim.h | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/sbat.h b/include/sbat.h index ab2325b..39971d9 100644 --- a/include/sbat.h +++ b/include/sbat.h @@ -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 f64d0f2..3eaecdb 100644 --- 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 872f54d..337234e 100644 --- a/shim.h +++ b/shim.h @@ -139,6 +139,7 @@ #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