From: Rebecca Cran Date: Wed, 12 Jun 2019 20:03:36 +0000 (-0600) Subject: Fix UEFI build on FreeBSD by not including system headers X-Git-Tag: openssl-3.0.0-alpha1~1883 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1fa90bb3a9089f974e9b07f3e76a964bd2da6976;p=oweals%2Fopenssl.git 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) --- 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