mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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:
parent
b2ac9c714e
commit
0022bc81a9
@ -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)
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user