Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
implicit declaration of function 'arc4random' is invalid in C99 #10709
When compiling libzip 1.6.1 with Emscripten I got:
These functions are provided by Emscripten:
but don't seem to be declared.
If we're going for *bsd compatibility here, I believe function prototypes needs to be added to stdlib.h.
I don't think we should be aiming for such compatibility.
It looks like it was added in a5c78a5, but without any explanation or tests, then has remained around since then including a test being added but without any rational that I can find. Can we just remove this? Its not present of any windows or linux desktop. @azakai ?