Skip to content

Commit

Permalink
fix(libfuzzer): add cstddef for size_t
Browse files Browse the repository at this point in the history
Add missing `cstddef` header for `size_t`.  
Fixes rust-fuzz#87  
libfuzzer code is then up-to-date with llvm branch release/13.x up to 2022/01/20.  
Upstream fix is with llvm/llvm-project@60e32a1
  • Loading branch information
kolbma committed Jan 22, 2022
1 parent fcf3b18 commit 74edd45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libfuzzer/FuzzerInterceptors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
}

#include <cassert>
#include <cstddef> // for size_t
#include <cstdint>
#include <dlfcn.h> // for dlsym()

Expand Down

0 comments on commit 74edd45

Please sign in to comment.