Skip to content

Commit d489478

Browse files
committed
netbios: fix build on win32
1 parent b9b4ff8 commit d489478

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/netbios_utils.h

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ int netbios_name_decode(const char *encoded_name,
5050
#include <stdatomic.h>
5151
#endif
5252

53+
#ifdef _WIN32
54+
typedef int socklen_t;
55+
#endif
56+
5357
struct netbios_abort_ctx
5458
{
5559
#ifdef NS_ABORT_USE_PIPE

0 commit comments

Comments
 (0)