From f1c00b93e2138e5a45e8b500dec6bb3b2e035771 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 10 Mar 2018 19:38:28 +0100 Subject: [PATCH] mem_sec.c: portability fixup. Reviewed-by: Rich Salz --- crypto/mem_sec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index ab4d137f63..1c1327037a 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -33,8 +33,10 @@ # include # if defined(OPENSSL_SYS_LINUX) # include -# include -# include +# if defined(SYS_mlock2) +# include +# include +# endif # endif # include # include