提交 444ec8d5 编写于 作者: R Rebecca Cran 提交者: Tomas Mraz

Fix UEFI build on FreeBSD by not including system headers

CLA: trivial
Reviewed-by: NRichard Levitte <levitte@openssl.org>
Reviewed-by: NBen Kaduk <kaduk@mit.edu>
Reviewed-by: NTomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9149)
上级 c6991655
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#if defined(__linux) #if defined(__linux)
# include <asm/unistd.h> # include <asm/unistd.h>
#endif #endif
#if defined(__FreeBSD__) #if defined(__FreeBSD__) && !defined(OPENSSL_SYS_UEFI)
# include <sys/types.h> # include <sys/types.h>
# include <sys/sysctl.h> # include <sys/sysctl.h>
# include <sys/param.h> # include <sys/param.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册