Fix Windows compilation.

This commit is contained in:
Jonathan Naylor 2020-09-20 15:35:36 +01:00
parent 85a85db9c5
commit e958203b11
11 changed files with 9 additions and 9 deletions

View File

@ -37,7 +37,7 @@
#include <gps.h>
#endif
#else
#include <winsock.h>
#include <WS2tcpip.h>
#endif
class CAPRSWriter {

View File

@ -29,7 +29,7 @@
#include <arpa/inet.h>
#include <errno.h>
#else
#include <winsock.h>
#include <WS2tcpip.h>
#endif
#include <cstdint>

View File

@ -20,6 +20,7 @@
#define STOPWATCH_H
#if defined(_WIN32) || defined(_WIN64)
#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 = "20200906";
const char* VERSION = "20200920";
#endif

View File

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

View File

@ -32,8 +32,7 @@
#include <arpa/inet.h>
#include <errno.h>
#else
#include <winsock2.h>
#include <ws2tcpip.h>
#include <WS2tcpip.h>
#endif
#if !defined(UDP_SOCKET_MAX)

View File

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

View File

@ -20,6 +20,7 @@
#define STOPWATCH_H
#if defined(_WIN32) || defined(_WIN64)
#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 = "20200908";
const char* VERSION = "20200920";
#endif