summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-25 15:09:46 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-25 15:09:46 (EST)
commitaa5ab59846cd8fce7e78f67244b962fcbd19f175 (patch)
tree8e59c3f7706a69238014a2d634d4ae2047056f26 /resources
parent379745c0b9edb89ab2651de779b29ec1612c7c8a (diff)
downloadlibreboot-aa5ab59846cd8fce7e78f67244b962fcbd19f175.zip
libreboot-aa5ab59846cd8fce7e78f67244b962fcbd19f175.tar.gz
libreboot-aa5ab59846cd8fce7e78f67244b962fcbd19f175.tar.bz2
ich9deblob: x86compatibility.c includes the .h file now
Diffstat (limited to 'resources')
-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();