summaryrefslogtreecommitdiffstats
path: root/resources/utilities/ich9deblob
diff options
context:
space:
mode:
Diffstat (limited to 'resources/utilities/ich9deblob')
-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 57d5864..46c60a7 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 bbbfda7..94e14e1 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();