network: restore WSAsize_t define for win32
This commit is contained in:
parent
9b40d91a9b
commit
7d0e45b507
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ GNU General Public License for more details.
|
|||
#if XASH_WIN32
|
||||
// Winsock
|
||||
#include <WS2tcpip.h>
|
||||
typedef int WSAsize_t;
|
||||
|
||||
#elif !defined XASH_NO_NETWORK
|
||||
// BSD sockets
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue