parent
43aeabbbee
commit
18fc12c392
@ -32,7 +32,6 @@
|
|||||||
#include "sockcompat.h"
|
#include "sockcompat.h"
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <errno.h>
|
|
||||||
static int _wsaErrorToErrno(int err) {
|
static int _wsaErrorToErrno(int err) {
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case WSAEWOULDBLOCK:
|
case WSAEWOULDBLOCK:
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
typedef long long ssize_t;
|
typedef long long ssize_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user