diff options
| author | Raymond Mao <[email protected]> | 2024-05-16 14:11:52 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-05-22 08:55:29 -0600 |
| commit | cb73fe9eeae0d71a74eef811b0ba34aaf5513dbe (patch) | |
| tree | efb46ac2604f9eccde6e9bc65e1d73dfd8d35854 /board | |
| parent | 0fe031dd722079cd076cc120d45e1711eb108fe3 (diff) | |
include: Move snprintf to stdio.h
Move snprintf to stdio.h since it is needed by exteranl libraries.
Signed-off-by: Raymond Mao <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'board')
| -rw-r--r-- | board/Synology/common/legacy.c | 1 | ||||
| -rw-r--r-- | board/ti/common/fdt_ops.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/board/Synology/common/legacy.c b/board/Synology/common/legacy.c index a0bace7b46c..2e3aa660eaa 100644 --- a/board/Synology/common/legacy.c +++ b/board/Synology/common/legacy.c @@ -6,6 +6,7 @@ */ #include <config.h> +#include <stdio.h> #include <vsprintf.h> #include <env.h> #include <net.h> diff --git a/board/ti/common/fdt_ops.c b/board/ti/common/fdt_ops.c index eb917be9e0d..8a3300993ed 100644 --- a/board/ti/common/fdt_ops.c +++ b/board/ti/common/fdt_ops.c @@ -6,7 +6,7 @@ */ #include <env.h> -#include <vsprintf.h> +#include <stdio.h> #include "fdt_ops.h" void ti_set_fdt_env(const char *board_name, struct ti_fdt_map *fdt_map) |
