From c3488eeaedbf540780fb5b5fee0c8829da017f76 Mon Sep 17 00:00:00 2001 From: vscosta Date: Fri, 8 Apr 2016 01:17:05 -0700 Subject: [PATCH] socklen_t should be supported in WIN32 :( --- os/ypsocks.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/os/ypsocks.c b/os/ypsocks.c index 64f1b37ac..045e9bce1 100755 --- a/os/ypsocks.c +++ b/os/ypsocks.c @@ -68,7 +68,10 @@ #include #endif #endif - +#ifdef _WIN32 +//#include +typedef int socklen_t; +#endif /* make sure we can compile in any platform */ #ifndef AF_UNSPEC #define AF_UNSPEC 0