From 1fa90bb3a9089f974e9b07f3e76a964bd2da6976 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Wed, 12 Jun 2019 14:03:36 -0600 Subject: [PATCH] Fix UEFI build on FreeBSD by not including system headers CLA: trivial Reviewed-by: Richard Levitte Reviewed-by: Ben Kaduk Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/9149) --- crypto/rand/rand_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index 3a6e00959c..61619091a4 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -21,7 +21,7 @@ #if defined(__linux) # include #endif -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) && !defined(OPENSSL_SYS_UEFI) # include # include # include