diff options
author | Hugo Landau <hlandau@openssl.org> | 2022-11-17 14:19:42 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-13 13:20:12 +0000 |
commit | 16b220dde3ffa0cfaf71dc3bd37a35187f8099fb (patch) | |
tree | 0e3d8eb89cc755781089208dc8df004a9ca36b6a | |
parent | 462d81dd73480fe349594d2b65698ddc84583d32 (diff) |
internal/sockets.h: Ensure errno.h included when necessary
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)
-rw-r--r-- | include/internal/sockets.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/internal/sockets.h b/include/internal/sockets.h index dcb4c8c3f4..f5d5cbc2e5 100644 --- a/include/internal/sockets.h +++ b/include/internal/sockets.h @@ -113,6 +113,11 @@ struct servent *PASCAL getservbyname(const char *, const char *); # include <sys/select.h> # endif +# ifdef OPENSSL_SYS_UNIX +# include <sys/poll.h> +# include <errno.h> +# endif + # ifndef VMS # include <sys/ioctl.h> # else |