From aff99225f946d8f538b5e0cb95fc65d5cd36b99b Mon Sep 17 00:00:00 2001 From: "Randall S. Becker" Date: Thu, 7 Sep 2023 15:15:21 +0100 Subject: [PATCH] Exclude include of poll.h from NonStop builds - not defined on platform. socket.h has been modified so that poll.h is omitted for OPENSSL_SYS_NONSTOP builds. The platform configuration is derived from UNIX so the include is only omitted for NonStop but kept in the OPENSSL_SYS_UNIX include block. Fixes: #22001 Signed-off-by: Randall S. Becker Reviewed-by: Hugo Landau Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/22006) --- include/internal/sockets.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/internal/sockets.h b/include/internal/sockets.h index 27a26184f09..2550c56bd0e 100644 --- a/include/internal/sockets.h +++ b/include/internal/sockets.h @@ -117,7 +117,9 @@ typedef size_t socklen_t; /* Currently appears to be missing on VMS */ # endif # ifdef OPENSSL_SYS_UNIX -# include +# ifndef OPENSSL_SYS_TANDEM +# include +# endif # include # endif -- 2.47.2