Angel Pons submitted this change.
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>
---
M ch341a_spi.c
M internal.c
2 files changed, 2 insertions(+), 0 deletions(-)
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 4390b45..bdbe32d 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"
To view, visit change 48880. To unsubscribe, or for help writing mail filters, visit settings.