Skip to content

Commit

Permalink
serial/uart_16550: include stdint.h in uart_16550.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jinliangli authored and anchao committed Aug 16, 2024
1 parent b64fb09 commit fd0d1f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/nuttx/serial/uart_16550.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
****************************************************************************/

#include <nuttx/config.h>
#include <stdint.h>

#ifdef CONFIG_16550_UART

Expand Down

0 comments on commit fd0d1f2

Please sign in to comment.