aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 6a7fabc5e9..933c71be0b 100644
--- a/util.h
+++ b/util.h
@@ -68,6 +68,7 @@ static const bool fWindows = true;
#define S_IWUSR 0200
#endif
#define unlink _unlink
+typedef int socklen_t;
#else
static const bool fWindows = false;
#define WSAGetLastError() errno