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 #include #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 #include #include "flash.h" +#include "platform.h" #include "programmer.h" #include "hwaccess.h"