serial/uart_16550: include stdint.h in uart_16550.h

stdint.h is needed in uart_16550.h for some types, e.g. uint32_t,
uintptr_t. Otherwise there will be building issue unless that stdint.h
is added before uart_16550.h by all files which needs uart_16550.h.

Signed-off-by: Jinliang Li <lijinliang1@lixiang.com>
This commit is contained in:
Jinliang Li 2024-08-09 20:33:18 +08:00 committed by Xiang Xiao
parent b64fb09e6c
commit 0fddb71478
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
****************************************************************************/
#include <nuttx/config.h>
#include <stdint.h>
#ifdef CONFIG_16550_UART