Permalink
Browse files

Add wincrypt.h to windows file for hdhomerun

Mingw32 (at least when cross-compiling) requires an extra include to define
HCRYPTPROV in hdhomerun_os_windows.c:random_get32()

Fixes #10513

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
  • Loading branch information...
r.keevil authored and Beirdo committed Jun 21, 2012
1 parent dba1f86 commit 2bf1785fc1139a108464af19144073f7bc64c5a4
Showing with 1 addition and 0 deletions.
  1. +1 −0 mythtv/libs/libmythhdhomerun/hdhomerun_os_windows.h
@@ -38,6 +38,7 @@
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
+#include <wincrypt.h>
#if !defined(USING_MINGW)
#include <wspiapi.h>
#endif

0 comments on commit 2bf1785

Please sign in to comment.