Fix Windows compilation.

This commit is contained in:
Jonathan Naylor 2020-09-20 14:07:42 +01:00
parent 6d6fcc7f93
commit b2ba671071
3 changed files with 2 additions and 3 deletions

View File

@ -72,7 +72,7 @@
#include <unistd.h>
#include <stdarg.h>
#else
#include <winsock.h>
#include <ws2tcpip.h>
#endif
#define BUFFER_MAX_LEN 128

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 = "20200906";
const char* VERSION = "20200920";
#endif