]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Don't include sys/select.h on HP-UX as it doesn't exist
authorTom Hughes <tom@compton.nu>
Mon, 23 May 2022 11:55:10 +0000 (12:55 +0100)
committerTomas Mraz <tomas@openssl.org>
Fri, 27 May 2022 06:05:48 +0000 (08:05 +0200)
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)

crypto/bio/bio_sock.c

index 2a50ce55d1675665c31f148aa2419d740ae1cc7d..fef6934998a68f8e90846b6537a0aadd20af0949 100644 (file)
@@ -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