1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

mingw hide some missing includes

Based on work from Radu Sorici <soriciradu@gmail.com>

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2012-04-12 10:54:22 +08:00 committed by Andy Green
parent 0dbef49e54
commit 2a480ea83c
2 changed files with 13 additions and 2 deletions

View file

@ -33,7 +33,7 @@ extern "C" {
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#include "websock-w32.h"
#include "../win32port/win32helpers/websock-w32.h"
#include "gettimeofday.h"

View file

@ -28,14 +28,25 @@
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#ifdef __MINGW64__
#else
#ifdef __MINGW32__
#else
#include <netdb.h>
#endif
#endif
#include <stdarg.h>
#include <sys/stat.h>
#ifdef WIN32
#ifdef __MINGW64__
#else
#ifdef __MINGW32__
#else
#include <time.h >
#endif
#endif
#include <winsock2.h>
#include <ws2ipdef.h>
#include <windows.h>