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,8 +33,10 @@
# include <sys/mman.h>
# if defined(OPENSSL_SYS_LINUX)
# include <sys/syscall.h>
# include <linux/mman.h>
# include <errno.h>
# if defined(SYS_mlock2)
# include <linux/mman.h>
# include <errno.h>
# endif
# endif
# include <sys/param.h>
# include <sys/stat.h>