From: Bruce Cran Date: Sat, 8 Oct 2011 16:51:22 +0000 (+0200) Subject: Fix Windows issue with socklen_t X-Git-Tag: fio-1.99.4~15 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=72ddbe7981ab5d1c0eb64c952b29bdf6505afdec Fix Windows issue with socklen_t Signed-off-by: Jens Axboe --- diff --git a/os/os-windows.h b/os/os-windows.h index 65ba4377..8812cfa2 100644 --- a/os/os-windows.h +++ b/os/os-windows.h @@ -21,6 +21,9 @@ #define FIO_HAVE_WINDOWSAIO #define FIO_HAVE_GETTID +#define FIO_OS_HAVE_SOCKLEN_T +typedef int fio_socklen_t; + #define FIO_USE_GENERIC_RAND #define OS_MAP_ANON MAP_ANON