Wrap use of poll.h to prevent including on NonStop.

Fixes: #26724

Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/26726)
This commit is contained in:
Randall S. Becker 2025-02-12 14:40:59 +00:00 committed by Neil Horman
parent c8654f79f4
commit ff030ad5bd

View file

@ -98,7 +98,6 @@ typedef size_t socklen_t; /* Currently appears to be missing on VMS */
# include <in.h>
# include <inet.h>
# else
# include <poll.h>
# include <sys/socket.h>
# if !defined(NO_SYS_UN_H) && defined(AF_UNIX) && !defined(OPENSSL_NO_UNIX_SOCK)
# include <sys/un.h>