From c72e19728a32af131d63ead8b0ad04e7c2f061d2 Mon Sep 17 00:00:00 2001 From: daurnimator <quae@daurnimator.com> Date: Sat, 2 Sep 2017 03:58:42 +1000 Subject: Windows wants inaddr.h included after winsock2.h --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openssl.c b/src/openssl.c index ede55aa..10cb1f1 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -38,8 +38,8 @@ #include <sys/stat.h> /* struct stat stat(2) */ #ifdef _WIN32 -#include <inaddr.h> /* struct in_addr, struct in6_addr */ #include <winsock2.h> /* AF_INET, AF_INET6 */ +#include <inaddr.h> /* struct in_addr, struct in6_addr */ #include <ws2tcpip.h> /* inet_pton */ #pragma comment(lib, "ws2_32.lib") #include <wincrypt.h> /* CryptAcquireContext(), CryptGenRandom(), CryptReleaseContext() */ -- cgit v1.2.3-59-g8ed1b