aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_prng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_prng.c b/src/lj_prng.c
index a9bd350a..fff155a1 100644
--- a/src/lj_prng.c
+++ b/src/lj_prng.c
@@ -126,7 +126,7 @@ static PRGR libfunc_rgr;
126#endif 126#endif
127 127
128#if LJ_TARGET_HAS_GETENTROPY 128#if LJ_TARGET_HAS_GETENTROPY
129extern int getentropy(void *buf, size_t len); 129extern int getentropy(void *buf, size_t len)
130#ifdef __ELF__ 130#ifdef __ELF__
131 __attribute__((weak)) 131 __attribute__((weak))
132#endif 132#endif