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)
This commit is contained in:
Rebecca Cran 2019-06-12 14:03:36 -06:00 committed by Tomas Mraz
parent 1ff030c0a6
commit 1fa90bb3a9

View file

@ -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>