提交 612fc05a 编写于 作者: G Gerd Hoffmann 提交者: Stefan Hajnoczi

fix mingw build failure

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: NStefan Weil <sw@weilnetz.de>
Reviewed-by: NDaniel P. Berrange <berrange@redhat.com>
Message-id: 20170516052439.16214-1-kraxel@redhat.com
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 3c2bdbc1
......@@ -23,7 +23,7 @@
#include "crypto/random.h"
#ifdef _WIN32
#include <Wincrypt.h>
#include <wincrypt.h>
static HCRYPTPROV hCryptProv;
#else
static int fd; /* a file handle to either /dev/urandom or /dev/random */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册