From a2f85757d2c45805cdaef6abf4ce417b4125188b Mon Sep 17 00:00:00 2001 From: Nathaniel Brough Date: Mon, 24 Apr 2023 10:13:46 -0700 Subject: [PATCH] Fix includes on test program The origional test program works when compiling with stdlibc++ but not libc++. --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ba78a07834f..612bb038623 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -107,6 +107,7 @@ set(CMAKE_REQUIRED_LINK_OPTIONS "-fsanitize=fuzzer") set(CMAKE_REQUIRED_FLAGS "-fsanitize=fuzzer-no-link") check_cxx_source_compiles([[ #include +#include extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, std::size_t Size) { return 0; }