compat: use `unsigned int` instead of `u_int`

`u_int` is not available on some platforms (not sure what standard it's
supposed to be part of), we don't use it anywhere else, and it doesn't
hurt to simply write `unsigned int` out here.
This commit is contained in:
Wladimir J. van der Laan 2017-03-05 09:51:21 +00:00
parent 25da1ee36c
commit a4d1c9f041
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
#endif
#ifndef WIN32
typedef u_int SOCKET;
typedef unsigned int SOCKET;
#include "errno.h"
#define WSAGetLastError() errno
#define WSAEINVAL EINVAL