clear_memory.c: Include missing <stdint.h> Include the header so that we can reliably use uint8_t. Bug: 357008987 Change-Id: Ibd8bee2cff63d3cb7a56f8b22ce1f7f75d0e0f1f Reviewed-on: https://pigweed-review.googlesource.com/c/open-dice/+/250052 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alice Wang <aliceywang@google.com> Reviewed-by: Andrew Scull <ascull@google.com> Pigweed-Auto-Submit: Pierre-Clément Tosi <ptosi@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/src/clear_memory.c b/src/clear_memory.c index 0fdc7cf..d8f5ca6 100644 --- a/src/clear_memory.c +++ b/src/clear_memory.c
@@ -17,6 +17,8 @@ // volatile data pointer. Attention has not been given to performance, clearing // caches or other potential side channels. +#include <stdint.h> + #include "dice/ops.h" void DiceClearMemory(void* context, size_t size, void* address) {