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>
master
Gerd Hoffmann 2017-05-16 07:24:39 +02:00 committed by Stefan Hajnoczi
parent 3c2bdbc1e4
commit 612fc05ad2
1 changed files with 1 additions and 1 deletions

View File

@ -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 */