From 72ddbe7981ab5d1c0eb64c952b29bdf6505afdec Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Sat, 8 Oct 2011 18:51:22 +0200 Subject: [PATCH] Fix Windows issue with socklen_t Signed-off-by: Jens Axboe --- os/os-windows.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.25.1