Closed shikokuchuo closed 5 months ago
Describe the bug
The only included header in that file is <sys/random.h>, which is not self-sufficient. Requires a prior size_t definition from
size_t
Expected behavior No error.
Actual Behavior Causes build failure when cross-compiling to WASM using Emscripten.
To Reproduce See for example: https://github.com/r-universe/shikokuchuo/actions/runs/8638527703/job/23683225713#step:5:471
Environment Details
Describe the bug
The only included header in that file is <sys/random.h>, which is not self-sufficient. Requires a prior
size_t
definition fromExpected behavior No error.
Actual Behavior Causes build failure when cross-compiling to WASM using Emscripten.
To Reproduce See for example: https://github.com/r-universe/shikokuchuo/actions/runs/8638527703/job/23683225713#step:5:471
Environment Details