aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/utilities/ich9deblob/x86compatibility.c3
-rw-r--r--resources/utilities/ich9deblob/x86compatibility.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/resources/utilities/ich9deblob/x86compatibility.c b/resources/utilities/ich9deblob/x86compatibility.c
index 57d5864c..46c60a7d 100644
--- a/resources/utilities/ich9deblob/x86compatibility.c
+++ b/resources/utilities/ich9deblob/x86compatibility.c
@@ -23,8 +23,7 @@
#include <stdio.h>
#include <string.h>
-#include "descriptor/descriptor.h" /* structs describing what's in the descriptor region */
-#include "gbe/gbe.h" /* structs describing what's in the gbe region */
+#include "x86compatibility.h"
/*
* ---------------------------------------------------------------------
diff --git a/resources/utilities/ich9deblob/x86compatibility.h b/resources/utilities/ich9deblob/x86compatibility.h
index bbbfda72..94e14e11 100644
--- a/resources/utilities/ich9deblob/x86compatibility.h
+++ b/resources/utilities/ich9deblob/x86compatibility.h
@@ -24,6 +24,9 @@
#ifndef X86COMPATIBILITY_H
#define X86COMPATIBILITY_H
+#include "descriptor/descriptor.h" /* structs describing what's in the descriptor region */
+#include "gbe/gbe.h" /* structs describing what's in the gbe region */
+
int structSizesIncorrect(struct DESCRIPTORREGIONRECORD descriptorDummy, struct GBEREGIONRECORD_8K gbe8kDummy);
int systemIsBigEndian();
int structMembersWrongOrder();