summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiriam Polzer <mpolzer@google.com>2020-12-23 17:28:38 +0100
committerAngel Pons <th3fanbus@gmail.com>2020-12-26 12:59:45 +0000
commit5ab46567df4bcc470db769d584683e67d784084e (patch)
treef32c56cd8d145d0e98b34493cf79d8268a5b2b76
parent10d71d9393d7293ee42ee7e95786ac7f09f183bd (diff)
downloadflashrom-5ab46567df4bcc470db769d584683e67d784084e.tar.gz
flashrom-5ab46567df4bcc470db769d584683e67d784084e.tar.bz2
flashrom-5ab46567df4bcc470db769d584683e67d784084e.zip
Add missing platform.h includes
Include platform.h in all files using its macros. BUG=none TEST=builds Signed-off-by: Miriam Polzer <mpolzer@google.com> Change-Id: If17a3d58c02222f61b4e0335879eeed1638b583c Reviewed-on: https://review.coreboot.org/c/flashrom/+/48880 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--ch341a_spi.c1
-rw-r--r--internal.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ch341a_spi.c b/ch341a_spi.c
index 17c37ebfe..84cc3fe7b 100644
--- a/ch341a_spi.c
+++ b/ch341a_spi.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <libusb.h>
#include "flash.h"
+#include "platform.h"
#include "programmer.h"
/* LIBUSB_CALL ensures the right calling conventions on libusb callbacks.
diff --git a/internal.c b/internal.c
index 4390b452f..bdbe32d4d 100644
--- a/internal.c
+++ b/internal.c
@@ -18,6 +18,7 @@
#include <string.h>
#include <stdlib.h>
#include "flash.h"
+#include "platform.h"
#include "programmer.h"
#include "hwaccess.h"