aboutsummaryrefslogtreecommitdiff
path: root/include/drivers/st/etzpc.h
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2020-09-07 13:46:04 +0200
committerYann Gautier <yann.gautier@st.com>2020-09-24 09:32:23 +0200
commit0adc87c75d3c8b67d70008af39ba256a68ae00f8 (patch)
treee6baef167f7055eb5d6a1e5a0726ba89753addf0 /include/drivers/st/etzpc.h
parent54019a35b817976793903f0030108148631aaace (diff)
downloadtrusted-firmware-a-0adc87c75d3c8b67d70008af39ba256a68ae00f8.tar.gz
drivers: st: add missing includes in ETZPC header
Depending on compiler, the issue about bool or uint*_t not defined can appear. Correct this by adding stdbool.h and stdint.h includes in etzpc.h. Change-Id: If1419dc511efbe682459fa4a776481fa52a38aa3 Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'include/drivers/st/etzpc.h')
-rw-r--r--include/drivers/st/etzpc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drivers/st/etzpc.h b/include/drivers/st/etzpc.h
index 6e3fec1ea7..4cd2b4e0bb 100644
--- a/include/drivers/st/etzpc.h
+++ b/include/drivers/st/etzpc.h
@@ -7,6 +7,9 @@
#ifndef DRIVERS_ST_ETZPC_H
#define DRIVERS_ST_ETZPC_H
+#include <stdbool.h>
+#include <stdint.h>
+
/* Define security level for each peripheral (DECPROT) */
enum etzpc_decprot_attributes {
ETZPC_DECPROT_S_RW = 0,