]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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:32:19 +0000 (11:32 +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)

apps/speed.c

index 5be02e8114791ea9715c7bb32870f2909cb0d7cd..aace0c57122653b62dfb191884e1e633bf9750e8 100644 (file)
@@ -63,8 +63,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>