From d4894785b7cd1cb4f8a87ecd662f872de8810e52 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Mon, 11 Apr 2022 11:57:09 +0200 Subject: [PATCH] netbios: fix build on win32 --- src/netbios_utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/netbios_utils.h b/src/netbios_utils.h index c45cc5f..b214d8d 100644 --- a/src/netbios_utils.h +++ b/src/netbios_utils.h @@ -50,6 +50,10 @@ int netbios_name_decode(const char *encoded_name, #include #endif +#ifdef _WIN32 +typedef int socklen_t; +#endif + struct netbios_abort_ctx { #ifdef NS_ABORT_USE_PIPE