summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bluestop.org>2019-06-12 14:03:36 -0600
committerTomas Mraz <tmraz@fedoraproject.org>2019-06-19 14:39:45 +0200
commit444ec8d5e78c37c456b46297d809535b5434137a (patch)
tree3fa50f6b0bc22a31f5af3de25e8d6e3e96286f8a /crypto
parentc6991655c4ce4764861dd5bdf64a92be5f54dbb3 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c
index 4b91903f20..114c40b184 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>