From 9559349cbc0bcb39e31333bc7913feddd79d8eae Mon Sep 17 00:00:00 2001 From: yuangongji <82787816@qq.com> Date: Wed, 3 Jul 2019 00:27:22 +0800 Subject: [PATCH] Missing on win7/MinGW(MINGW32_NT-6.1)/MSYS (cherry picked from commit 7806f3ec78368d69bfcf53cdffcdb424a528a113) --- arc4random.c | 1 + buffer_iocp.c | 1 + bufferevent_async.c | 1 + evdns.c | 1 + evutil.c | 1 + listener.c | 1 + 6 files changed, 6 insertions(+) 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 #include +#include #else #include #include 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 +#include #include #include 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 +#include #include #endif diff --git a/evdns.c b/evdns.c index 0a0e1ba6..de3848ad 100644 --- a/evdns.c +++ b/evdns.c @@ -77,6 +77,7 @@ #include #ifdef _WIN32 #include +#include #include #ifndef _WIN32_IE #define _WIN32_IE 0x400 diff --git a/evutil.c b/evutil.c index 6088aba9..3412c2ae 100644 --- a/evutil.c +++ b/evutil.c @@ -29,6 +29,7 @@ #ifdef _WIN32 #include +#include #include #define WIN32_LEAN_AND_MEAN #include diff --git a/listener.c b/listener.c index 387a89e9..f5c00c9c 100644 --- a/listener.c +++ b/listener.c @@ -35,6 +35,7 @@ #define _WIN32_WINNT 0x0403 #endif #include +#include #include #include #endif -- 2.40.0