From 6a6a85b0ecfbe1a68e0b2d86ba1f75a17f8c1598 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Tue, 30 Aug 2016 10:41:12 +0200 Subject: Add __DragonFly__ and generic BSD detection for ARC4RANDOM --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index 9fc4595..136110f 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -51,7 +51,7 @@ #define HAVE_ARC4RANDOM #endif -#if defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#if defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(BSD) #define HAVE_ARC4RANDOM #endif -- cgit v1.2.3-59-g8ed1b