[libc] Fix missing errno include in fuzzer (#144132)
The printf parser uses errno for setting up the %m conversion. It was presumably getting this include indirectly until a recent change. This patch adds a direct dependency to fix it.
This commit is contained in:
@@ -4,6 +4,7 @@ add_libc_fuzzer(
|
|||||||
printf_parser_fuzz.cpp
|
printf_parser_fuzz.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
libc.src.stdio.printf_core.parser
|
libc.src.stdio.printf_core.parser
|
||||||
|
libc.src.errno.errno # needed for the strerror conversion
|
||||||
)
|
)
|
||||||
|
|
||||||
add_libc_fuzzer(
|
add_libc_fuzzer(
|
||||||
|
|||||||
Reference in New Issue
Block a user