From 74edd457af60e9edc844da3243de5c0f72541c6a Mon Sep 17 00:00:00 2001 From: arlecchino Date: Sat, 22 Jan 2022 16:30:44 +0100 Subject: [PATCH] fix(libfuzzer): add cstddef for size_t Add missing `cstddef` header for `size_t`. Fixes https://github.com/rust-fuzz/libfuzzer/issues/87 libfuzzer code is then up-to-date with llvm branch release/13.x up to 2022/01/20. Upstream fix is with https://github.com/llvm/llvm-project/commit/60e32a1f34e9ea60155a98bbe6ee5ec2a383efa3 --- libfuzzer/FuzzerInterceptors.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libfuzzer/FuzzerInterceptors.cpp b/libfuzzer/FuzzerInterceptors.cpp index b877986..d5b0a42 100644 --- a/libfuzzer/FuzzerInterceptors.cpp +++ b/libfuzzer/FuzzerInterceptors.cpp @@ -25,6 +25,7 @@ } #include +#include // for size_t #include #include // for dlsym()