mem_sec.c: portability fixup.
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
b38fa9855f
commit
f1c00b93e2
1 changed files with 4 additions and 2 deletions
|
@ -33,9 +33,11 @@
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
# if defined(OPENSSL_SYS_LINUX)
|
# if defined(OPENSSL_SYS_LINUX)
|
||||||
# include <sys/syscall.h>
|
# include <sys/syscall.h>
|
||||||
|
# if defined(SYS_mlock2)
|
||||||
# include <linux/mman.h>
|
# include <linux/mman.h>
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
|
|
Loading…
Reference in a new issue