diff options
author | daurnimator <quae@daurnimator.com> | 2017-09-02 03:58:42 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-09-02 04:09:54 +1000 |
commit | c72e19728a32af131d63ead8b0ad04e7c2f061d2 (patch) | |
tree | 43a0702f0eaa6aa1e3ae31df106ec84f7149ec27 | |
parent | 66acd9c9075bdb9160cf0e30f7128e62bf576f5f (diff) | |
download | luaossl-c72e19728a32af131d63ead8b0ad04e7c2f061d2.tar.gz luaossl-c72e19728a32af131d63ead8b0ad04e7c2f061d2.tar.bz2 luaossl-c72e19728a32af131d63ead8b0ad04e7c2f061d2.zip |
Windows wants inaddr.h included after winsock2.h
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() */ |