mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +02:00
util/nvmutil: use arc4random on DragonFly BSD
it has arc4random, so we will use it there. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -53,7 +53,8 @@ static const char *getnvmprogname(void);
|
|||||||
static void set_err(int);
|
static void set_err(int);
|
||||||
|
|
||||||
#if defined(__OpenBSD__) || defined(__FreeBSD__) || \
|
#if defined(__OpenBSD__) || defined(__FreeBSD__) || \
|
||||||
defined(__NetBSD__) || defined(__APPLE__)
|
defined(__NetBSD__) || defined(__APPLE__) || \
|
||||||
|
defined(__DragonFly__)
|
||||||
#ifndef HAVE_ARC4RANDOM
|
#ifndef HAVE_ARC4RANDOM
|
||||||
#define HAVE_ARC4RANDOM
|
#define HAVE_ARC4RANDOM
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user