Fix Windows compilation.

This commit is contained in:
Jonathan Naylor 2020-09-20 15:55:37 +01:00
parent 471f5475d2
commit 2bec26d77c
3 changed files with 2 additions and 2 deletions

View file

@ -21,6 +21,7 @@
#if defined(_WIN32) || defined(_WIN64)
#define _WINSOCKAPI_
#include <WS2tcpip.h>
#include <windows.h>
#else
#include <sys/time.h>

View file

@ -32,7 +32,6 @@
#include <arpa/inet.h>
#include <errno.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#endif

View file

@ -19,6 +19,6 @@
#if !defined(VERSION_H)
#define VERSION_H
const char* VERSION = "20180825";
const char* VERSION = "20200920";
#endif