Fix build on NonStop
authorTomas Mraz <tomas@openssl.org>
Thu, 1 Dec 2022 18:24:47 +0000 (19:24 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 5 Dec 2022 10:33:09 +0000 (11:33 +0100)
Fixes #19810

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19811)

(cherry picked from commit d861bc03ee2ea9945f2a52f04548398ea0b92f94)

apps/speed.c

index 59dfb099096fb4ab43e87c580039e1a364f601bd..62cde95f50badba66286310c522f46643cc9fc9b 100644 (file)
@@ -62,8 +62,8 @@ VirtualLock(
     );
 #endif
 
-# if defined(OPENSSL_SYS_UNIX)
-#  include <sys/mman.h>
+#if defined(OPENSSL_SYS_LINUX)
+# include <sys/mman.h>
 #endif
 
 #include <openssl/bn.h>