bring includes from rtm
This commit is contained in:
parent
37e899e872
commit
280d1d7366
@ -6,17 +6,12 @@
|
|||||||
|
|
||||||
#include "IXSocket.h"
|
#include "IXSocket.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <assert.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
# include <basetsd.h>
|
||||||
# include <WinSock2.h>
|
# include <WinSock2.h>
|
||||||
|
# include <ws2def.h>
|
||||||
# include <WS2tcpip.h>
|
# include <WS2tcpip.h>
|
||||||
|
# include <io.h>
|
||||||
#pragma comment(lib, "ws2_32")
|
#pragma comment(lib, "ws2_32")
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
#else
|
#else
|
||||||
@ -30,6 +25,14 @@
|
|||||||
# include <sys/stat.h>
|
# include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <assert.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Linux/Android has a special type of virtual files. select(2) will react
|
// Linux/Android has a special type of virtual files. select(2) will react
|
||||||
// when reading/writing to those files, unlike closing sockets.
|
// when reading/writing to those files, unlike closing sockets.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user