summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/g/trng.c1
-rw-r--r--include/trng.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/chip/g/trng.c b/chip/g/trng.c
index 49631e5b06..f715a1f833 100644
--- a/chip/g/trng.c
+++ b/chip/g/trng.c
@@ -5,6 +5,7 @@
#include "init_chip.h"
#include "registers.h"
+#include "trng.h"
void init_trng(void)
{
diff --git a/include/trng.h b/include/trng.h
index e6dcba644c..fed113c196 100644
--- a/include/trng.h
+++ b/include/trng.h
@@ -6,6 +6,7 @@
#define __EC_INCLUDE_TRNG_H
#include <stddef.h>
+#include <stdint.h>
/**
* Initialize the true random number generator.