diff options
author | Rebecca Cran <rebecca@bluestop.org> | 2019-06-12 14:03:36 -0600 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2019-06-19 14:42:40 +0200 |
commit | 1fa90bb3a9089f974e9b07f3e76a964bd2da6976 (patch) | |
tree | 9bd48964b20e862823ddca524247041a176a3d88 /crypto | |
parent | 1ff030c0a6f0415577b07366861a41b101e6af92 (diff) |
Fix UEFI build on FreeBSD by not including system headers
CLA: trivial
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9149)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/rand/rand_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <asm/unistd.h> #endif -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) && !defined(OPENSSL_SYS_UEFI) # include <sys/types.h> # include <sys/sysctl.h> # include <sys/param.h> |