aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 20:09:46 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-25 20:09:46 +0000
commitaa5ab59846cd8fce7e78f67244b962fcbd19f175 (patch)
tree8e59c3f7706a69238014a2d634d4ae2047056f26
parent379745c0b9edb89ab2651de779b29ec1612c7c8a (diff)
downloadlibrebootfr-aa5ab59846cd8fce7e78f67244b962fcbd19f175.tar.gz
librebootfr-aa5ab59846cd8fce7e78f67244b962fcbd19f175.zip
ich9deblob: x86compatibility.c includes the .h file now
-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();