Add missing platform.h includes
Include platform.h in all files using its macros.
Signed-off-by: Miriam Polzer <mpolzer@google.com>
Change-Id: If17a3d58c02222f61b4e0335879eeed1638b583c
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/48880
Original-Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Original-Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71334
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/ch341a_spi.c b/ch341a_spi.c
index 17c37eb..84cc3fe 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 60f3da1..f1048d9 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"