sbat: make the includes work like everything else.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2021-02-15 12:24:33 -05:00 committed by Javier Martinez Canillas
parent cf7260d432
commit 5fb5537fa9
3 changed files with 2 additions and 3 deletions

View 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;

2
sbat.c
View File

@ -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)

1
shim.h
View File

@ -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