aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 17c37ebf..84cc3fe7 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 4390b452..bdbe32d4 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"