diff options
author | Randall S. Becker <randall.becker@nexbridge.ca> | 2023-09-07 15:15:21 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-09-08 17:21:38 +0100 |
commit | aff99225f946d8f538b5e0cb95fc65d5cd36b99b (patch) | |
tree | b35f90ed9c5a1eea7197acfa0edef21e912c24da /include | |
parent | e9f8e92645361e3596ccc43fa7cbca5245492cd2 (diff) |
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 <randall.becker@nexbridge.ca>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22006)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/sockets.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/internal/sockets.h b/include/internal/sockets.h index 27a26184f0..2550c56bd0 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 <poll.h> +# ifndef OPENSSL_SYS_TANDEM +# include <poll.h> +# endif # include <errno.h> # endif |