mem_sec.c: portability fixup.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Andy Polyakov 2018-03-10 19:38:28 +01:00
parent b38fa9855f
commit f1c00b93e2

View file

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