mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 17:51:32 +00:00
fix of fix of fix in libdislocator
This commit is contained in:
parent
2ccf5323c2
commit
ba1b04be1e
@ -31,10 +31,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#ifdef __NR_getrandom
|
||||
#define _GNU_SOURCE
|
||||
#include <unistd.h>
|
||||
#include <sys/syscall.h>
|
||||
#ifdef __NR_getrandom
|
||||
#define arc4random_buf(p, l) do { ssize_t rd = syscall(__NR_getrandom, p, l, 0); if (rd != l) DEBUGF("getrandom failed"); } while(0)
|
||||
#else
|
||||
#include <time.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user