[fuzzer][test] Add #include <cstdint> for gcc-13

See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes.

Reviewed By: SixWeining

Differential Revision: https://reviews.llvm.org/D137696
This commit is contained in:
Youling Tang 2022-11-10 13:44:10 +08:00 committed by Weining Lu
parent f151274454
commit 3ba498d145
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
// Test for a fuzzer: must find the case where a particular basic block is
// executed many times.
#include <cstdint>
#include <iostream>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {

View File

@ -3,6 +3,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Parse some flags
#include <cstdint>
#include <string>
#include <vector>