mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
fix(libc): snprintf: include stdint.h
The snprintf code uses the uintptr_t type, which is defined in stdint.h. We do not include this header explicitly, but get the definition indirectly through some other header doing so. However this breaks when snprintf is compiled in isolation (for instance for unit-testing), so let's add this #include to make things right. Change-Id: I1299767ee482f5cf1af30c4df2e8f7e596969b41 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
b30dd4030d
commit
410c925ab3
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <common/debug.h>
|
||||
#include <plat/common/platform.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue