mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-25 08:29:20 +00:00
Fixed struct timeval undeclared on Windows
This commit is contained in:
@ -21,7 +21,8 @@
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
// taken from https://stackoverflow.com/questions/10905892/equivalent-of-gettimeday-for-windows
|
// taken from https://stackoverflow.com/questions/10905892/equivalent-of-gettimeday-for-windows
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
|
#include <winsock2.h> // for struct timeval
|
||||||
|
|
||||||
struct timezone {
|
struct timezone {
|
||||||
int tz_minuteswest;
|
int tz_minuteswest;
|
||||||
|
Reference in New Issue
Block a user