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:
parent
0dbef49e54
commit
2a480ea83c
2 changed files with 13 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue