network: restore WSAsize_t define for win32

This commit is contained in:
mittorn 2020-02-08 23:59:43 +07:00
parent 9b40d91a9b
commit 7d0e45b507
1 changed files with 2 additions and 0 deletions

View File

@ -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>