Browse Source

Fixed build error on Windows

yhirose 5 years ago
parent
commit
5ddaf949d0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      httplib.h

+ 2 - 1
httplib.h

@@ -143,8 +143,9 @@ using ssize_t = int;
 #endif // NOMINMAX
 
 #include <io.h>
-#include <wincrypt.h>
 #include <winsock2.h>
+
+#include <wincrypt.h>
 #include <ws2tcpip.h>
 
 #ifndef WSA_FLAG_NO_HANDLE_INHERIT