diff options
Diffstat (limited to 'main/arm-trusted-firmware/key_t.patch')
-rw-r--r-- | main/arm-trusted-firmware/key_t.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/arm-trusted-firmware/key_t.patch b/main/arm-trusted-firmware/key_t.patch new file mode 100644 index 00000000000..07c6cf16b28 --- /dev/null +++ b/main/arm-trusted-firmware/key_t.patch @@ -0,0 +1,13 @@ +without it /usr/include/bits/alltypes.h defines key_t as int + +--- a/tools/cert_create/Makefile ++++ b/tools/cert_create/Makefile +@@ -49,7 +49,7 @@ endif + # from setting the OPENSSL_DIR path. + $(eval $(call SELECT_OPENSSL_API_VERSION)) + +-HOSTCCFLAGS := -Wall -std=c99 ++HOSTCCFLAGS := -Wall -std=c99 -D__DEFINED_key_t=1 + + ifeq (${DEBUG},1) + HOSTCCFLAGS += -g -O0 -DDEBUG -DLOG_LEVEL=40 |