diff options
author | yuangongji <82787816@qq.com> | 2019-07-03 00:27:22 +0800 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2019-07-11 10:21:33 +0300 |
commit | 7806f3ec78368d69bfcf53cdffcdb424a528a113 (patch) | |
tree | 9fc7f268e1a48de652c11e1e9a42c4e6b2177bb1 | |
parent | 669a53f341e192657140952cfe025c260da2b1c1 (diff) | |
download | libevent-7806f3ec78368d69bfcf53cdffcdb424a528a113.tar.gz |
Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYS
-rw-r--r-- | arc4random.c | 1 | ||||
-rw-r--r-- | buffer_iocp.c | 1 | ||||
-rw-r--r-- | bufferevent_async.c | 1 | ||||
-rw-r--r-- | evdns.c | 1 | ||||
-rw-r--r-- | evutil.c | 1 | ||||
-rw-r--r-- | listener.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/arc4random.c b/arc4random.c index 02fd7447..be64452b 100644 --- a/arc4random.c +++ b/arc4random.c @@ -54,6 +54,7 @@ #ifdef _WIN32 #include <wincrypt.h> #include <process.h> +#include <winerror.h> #else #include <fcntl.h> #include <unistd.h> diff --git a/buffer_iocp.c b/buffer_iocp.c index 2d76a90e..2af0c49c 100644 --- a/buffer_iocp.c +++ b/buffer_iocp.c @@ -44,6 +44,7 @@ #include "mm-internal.h" #include <winsock2.h> +#include <winerror.h> #include <windows.h> #include <stdio.h> diff --git a/bufferevent_async.c b/bufferevent_async.c index 141cf34f..40c7c5e8 100644 --- a/bufferevent_async.c +++ b/bufferevent_async.c @@ -46,6 +46,7 @@ #ifdef _WIN32 #include <winsock2.h> +#include <winerror.h> #include <ws2tcpip.h> #endif @@ -77,6 +77,7 @@ #include <stdarg.h> #ifdef _WIN32 #include <winsock2.h> +#include <winerror.h> #include <ws2tcpip.h> #ifndef _WIN32_IE #define _WIN32_IE 0x400 @@ -29,6 +29,7 @@ #ifdef _WIN32 #include <winsock2.h> +#include <winerror.h> #include <ws2tcpip.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> @@ -35,6 +35,7 @@ #define _WIN32_WINNT 0x0403 #endif #include <winsock2.h> +#include <winerror.h> #include <ws2tcpip.h> #include <mswsock.h> #endif |