diff options
author | Stephan Eberle <stephaneberle9@gmail.com> | 2016-04-26 22:05:19 +0200 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2016-04-27 07:31:22 +0800 |
commit | 3f41a9de5b5e7537a516c3973bdf6292bc813767 (patch) | |
tree | 17df148cea5dd15dceb4b4668565ef41353704d5 /win32port | |
parent | 734f10a19bf2e3619ca7f2fb0c429a7b05083d5b (diff) | |
download | libwebsockets-3f41a9de5b5e7537a516c3973bdf6292bc813767.tar.gz |
Fixes for building with MinGW
Added fixes to avoid compile errors and warnings when building under
Windows using MinGW
Diffstat (limited to 'win32port')
-rw-r--r-- | win32port/win32helpers/gettimeofday.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32port/win32helpers/gettimeofday.h b/win32port/win32helpers/gettimeofday.h index 720cb109..00380623 100644 --- a/win32port/win32helpers/gettimeofday.h +++ b/win32port/win32helpers/gettimeofday.h @@ -7,6 +7,8 @@ #define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL #endif +#include <winsock2.h> + #ifndef _TIMEZONE_DEFINED struct timezone { |