diff options
author | Tom Hughes <tom@compton.nu> | 2022-05-23 12:55:10 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-05-27 08:05:48 +0200 |
commit | 737e849fd938a943cad207cde1c711e961f92294 (patch) | |
tree | 8386ad4d3446241e0865bb8bc36d4ddfab06077b /crypto/bio | |
parent | 416d0a638c1635a182e57fe80c7c065dd76818c0 (diff) |
Don't include sys/select.h on HP-UX as it doesn't exist
CLA: trivial
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18395)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/bio_sock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bio/bio_sock.c b/crypto/bio/bio_sock.c index 2a50ce55d1..fef6934998 100644 --- a/crypto/bio/bio_sock.c +++ b/crypto/bio/bio_sock.c @@ -35,6 +35,8 @@ static int wsa_init_done = 0; # include <unistd.h> # if defined __VMS # include <sys/socket.h> +# elif defined _HPUX_SOURCE +# include <sys/time.h> # else # include <sys/select.h> # endif |