crypto: fix missing <winsock.h> indirection inclusion.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14344)
This commit is contained in:
FdaSilvaYY 2021-02-21 00:10:07 +01:00 committed by Tomas Mraz
parent b2ac9c714e
commit 0022bc81a9
4 changed files with 6 additions and 1 deletions

View File

@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "bio_local.h"
#ifndef OPENSSL_NO_SOCK
# define SOCKET_PROTOCOL IPPROTO_TCP
# ifdef SO_MAXCONN
@ -38,6 +39,7 @@ static int wsa_init_done = 0;
# include <sys/select.h>
# endif
# endif
# include "internal/sockets.h" /* for openssl_fdset() */
# ifndef OPENSSL_NO_DEPRECATED_1_1_0
int BIO_get_host_ip(const char *str, unsigned char *ip)

View File

@ -10,6 +10,7 @@
#include <errno.h>
#include <openssl/err.h>
#include "internal/time.h"
#include "internal/e_os.h"
OSSL_TIME ossl_time_now(void)
{

View File

@ -11,6 +11,7 @@
# define OSSL_BIO_ADDR_H
# include "internal/e_os.h"
# include "internal/e_winsock.h"
# include "internal/sockets.h"
# ifndef OPENSSL_NO_SOCK

View File

@ -12,7 +12,8 @@
# pragma once
# include <openssl/e_os2.h> /* uint64_t */
# include "internal/e_os.h" /* for struct timeval */
# include "internal/e_os.h"
# include "internal/e_winsock.h" /* for struct timeval */
# include "internal/safe_math.h"
/*