mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
*BSD: Fix getentropy() declaration.
Thanks to dundargoc.
This commit is contained in:
parent
c4adf49204
commit
c93890ed8b
@ -126,7 +126,7 @@ static PRGR libfunc_rgr;
|
||||
#endif
|
||||
|
||||
#if LJ_TARGET_HAS_GETENTROPY
|
||||
extern int getentropy(void *buf, size_t len);
|
||||
extern int getentropy(void *buf, size_t len)
|
||||
#ifdef __ELF__
|
||||
__attribute__((weak))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user