Fix Windows compilation.

This commit is contained in:
Jonathan Naylor 2020-09-20 15:01:29 +01:00
parent f0b9aeea73
commit 0c36583767
3 changed files with 3 additions and 2 deletions

View file

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

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

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