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:
Leah Rowe
2026-03-06 16:43:18 +00:00
parent a358a6fe09
commit 7f6d7526cc
+2 -1
View File
@@ -53,7 +53,8 @@ static const char *getnvmprogname(void);
static void set_err(int);
#if defined(__OpenBSD__) || defined(__FreeBSD__) || \
defined(__NetBSD__) || defined(__APPLE__)
defined(__NetBSD__) || defined(__APPLE__) || \
defined(__DragonFly__)
#ifndef HAVE_ARC4RANDOM
#define HAVE_ARC4RANDOM
#endif