mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 13:53:45 +08:00
fix mingw build failure
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 20170516052439.16214-1-kraxel@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
3c2bdbc1e4
commit
612fc05ad2
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user