Merge pull request #4172 from jlsantiago0/mingw-build-fix1

MINGW Build Fix.
This commit is contained in:
Luca Boccassi 2021-04-15 21:48:24 +01:00 committed by GitHub
commit 43cb2600ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,9 @@
// For AF_INET and IPPROTO_TCP
#if defined _WIN32
#include "../src/windows.hpp"
#if defined(__MINGW32__)
#include <unistd.h>
#endif
#else
#include <arpa/inet.h>
#include <unistd.h>