summaryrefslogtreecommitdiff
path: root/arc4random.c
diff options
context:
space:
mode:
authoryuangongji <82787816@qq.com>2019-07-03 00:27:22 +0800
committerAzat Khuzhin <azat@libevent.org>2019-07-11 10:21:33 +0300
commit7806f3ec78368d69bfcf53cdffcdb424a528a113 (patch)
tree9fc7f268e1a48de652c11e1e9a42c4e6b2177bb1 /arc4random.c
parent669a53f341e192657140952cfe025c260da2b1c1 (diff)
downloadlibevent-7806f3ec78368d69bfcf53cdffcdb424a528a113.tar.gz
Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYS
Diffstat (limited to 'arc4random.c')
-rw-r--r--arc4random.c1
1 files changed, 1 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>