Skip to content

Commit a46d9d4

Browse files
authored
Add wincrypt.h include for Windows (#145)
The following include fixes compilation under Windows 20H2 (19042.928)-x64. I do not know why, but without this include, the build fails.
1 parent 24310aa commit a46d9d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trantor/net/inner/TcpConnectionImpl.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#else
2525
#include <WinSock2.h>
2626
#include <Windows.h>
27+
#include <wincrypt.h>
2728
#endif
2829
#include <sys/stat.h>
2930
#include <fcntl.h>

0 commit comments

Comments
 (0)