Skip to content

Commit

Permalink
netbios: fix build on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
tguillem committed Apr 11, 2022
1 parent b9b4ff8 commit d489478
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/netbios_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ int netbios_name_decode(const char *encoded_name,
#include <stdatomic.h>
#endif

#ifdef _WIN32
typedef int socklen_t;
#endif

struct netbios_abort_ctx
{
#ifdef NS_ABORT_USE_PIPE
Expand Down

0 comments on commit d489478

Please sign in to comment.