From 0b7abc63499f46a24060cfe215cdef25e630a2d5 Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 28 Dec 2021 14:12:48 +0800 Subject: [PATCH] Include `Winsock2.h` before `windows.h` https://stackoverflow.com/questions/11726958/cant-include-winsock2-h-in-msvc-2010 --- src/_cffi_src/openssl/cryptography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py index 7cbcb591dd68f..dce2f41718c6c 100644 --- a/src/_cffi_src/openssl/cryptography.py +++ b/src/_cffi_src/openssl/cryptography.py @@ -33,9 +33,9 @@ #endif #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN +#include #include #include -#include #endif #if CRYPTOGRAPHY_IS_LIBRESSL