diff --git a/.github/workflows/build-keytools-windows.yml b/.github/workflows/build-keytools-windows.yml index 31e3e77b..40886387 100644 --- a/.github/workflows/build-keytools-windows.yml +++ b/.github/workflows/build-keytools-windows.yml @@ -26,7 +26,8 @@ jobs: - name: Build Solution shell: cmd run: | - MSBuild.exe tools\keytools\wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64" + echo "#define WOLFBOOT_SECTOR_SIZE 1024" > include/target.h + MSBuild.exe tools\keytools\wolfBootKeyTools.sln /m /p:Configuration=Release /p:Platform="x64" # Step 4: Upload executables as artifacts - name: Upload EXE Artifacts diff --git a/include/delta.h b/include/delta.h index b2b69a8c..6a16068c 100644 --- a/include/delta.h +++ b/include/delta.h @@ -35,6 +35,8 @@ #ifndef WOLFBOOT_DELTA_H #define WOLFBOOT_DELTA_H +#include + #ifndef DELTA_PATCH_BLOCK_SIZE #define DELTA_PATCH_BLOCK_SIZE 1024 #endif diff --git a/src/delta.c b/src/delta.c index 503a0a8a..20136049 100644 --- a/src/delta.c +++ b/src/delta.c @@ -22,6 +22,7 @@ #include #include #include +#include /* WOLFBOOT_SECTOR_SIZE */ #define ESC 0x7f