diff --git a/src/compat.h b/src/compat.h index fca6e6101..e76ab94c8 100644 --- a/src/compat.h +++ b/src/compat.h @@ -48,7 +48,7 @@ #endif #ifndef WIN32 -typedef u_int SOCKET; +typedef unsigned int SOCKET; #include "errno.h" #define WSAGetLastError() errno #define WSAEINVAL EINVAL