aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index fca6e6101a..e76ab94c82 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