Skip to content

Commit f5f975b

Browse files
Fix includes on test program
The origional test program works when compiling with stdlibc++ but not libc++.
1 parent 3119f19 commit f5f975b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ set(CMAKE_REQUIRED_LINK_OPTIONS "-fsanitize=fuzzer")
107107
set(CMAKE_REQUIRED_FLAGS "-fsanitize=fuzzer-no-link")
108108
check_cxx_source_compiles([[
109109
#include <cstdint>
110+
#include <cstddef>
110111
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, std::size_t Size) {
111112
return 0;
112113
}

0 commit comments

Comments
 (0)