forked from nuttx/nuttx-update
nuttx/elf.h: Fix build error with unknown type name 'bool'.
nuttx/include/nuttx/elf.h:118:1: error: unknown type name 'bool' 118 | bool up_checkarch(FAR const Elf_Ehdr *hdr); | ^~~~ nuttx/include/nuttx/elf.h:30:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? 29 | #include <arch/elf.h> +++ |+#include <stdbool.h> 30 | Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
parent
ca189ccaf2
commit
8d7ee794f4
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include <elf.h>
|
||||
#include <arch/elf.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
Loading…
Reference in a new issue