Skip to content

Commit

Permalink
sbat: make the includes work like everything else.
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jones <pjones@redhat.com>
  • Loading branch information
vathpela authored and martinezjavier committed Feb 15, 2021
1 parent cf7260d commit 5fb5537
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions include/sbat.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#ifndef SBAT_H_
#define SBAT_H_

#include "shim.h"

struct sbat_entry {
const CHAR8 *component_name;
const CHAR8 *component_generation;
Expand Down
2 changes: 1 addition & 1 deletion sbat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions shim.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fb5537

Please sign in to comment.