Browse Source

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>
pull/9/merge
Gerd Hoffmann 9 years ago
committed by Stefan Hajnoczi
parent
commit
612fc05ad2
  1. 2
      crypto/random-platform.c

2
crypto/random-platform.c

@ -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…
Cancel
Save