[fuzzer] Fix build on musl

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
This commit is contained in:
Khem Raj 2021-06-13 12:32:07 -07:00 committed by Fangrui Song
parent 673c5ba584
commit 60e32a1f34
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
}
#include <cassert>
#include <cstddef> // for size_t
#include <cstdint>
#include <dlfcn.h> // for dlsym()