Skip to content

Commit

Permalink
[fuzzer] Fix build on musl
Browse files Browse the repository at this point in the history
cstddef is needed for size_t definition.
(Multiple headers can provide size_t but none of them exists.)

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D96213
  • Loading branch information
kraj authored and MaskRay committed Jun 13, 2021
1 parent 673c5ba commit 60e32a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler-rt/lib/fuzzer/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 60e32a1

Please sign in to comment.