1
0
mirror of synced 2025-04-20 11:47:43 +03:00

include <wincrypt.h> as otherwise CertOpenSystemStoreW can not be found (#568)

- visual studio 2019, version 16.6.3
- 64 bit target
This commit is contained in:
Daniel Ottiger 2020-07-15 16:17:18 +02:00 committed by GitHub
parent 6ad25b6cf0
commit 2ce080c2cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,6 +145,7 @@ using ssize_t = int;
#include <io.h> #include <io.h>
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
#include <wincrypt.h>
#ifndef WSA_FLAG_NO_HANDLE_INHERIT #ifndef WSA_FLAG_NO_HANDLE_INHERIT
#define WSA_FLAG_NO_HANDLE_INHERIT 0x80 #define WSA_FLAG_NO_HANDLE_INHERIT 0x80