Fixes #include of winsock.h before winsock2.h

This commit is contained in:
Michael Davidsaver 2023-08-18 07:51:02 -07:00 committed by Azat Khuzhin
parent c9ec6aafb6
commit 21d2f5a415

View File

@ -24,6 +24,13 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "event2/event-config.h"
#include "evconfig-private.h"
#ifdef _WIN32
# include <winsock2.h>
#endif
#include <string.h>
#include <openssl/ssl.h>