X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=ff32b73c9181e6746240dcc982782800d99fa313;hb=b47c17bcdeb70b63ad9346dc97ba575597cbd803;hp=0f70a4b49813cc2f9f69e603fdf9d30eaa7c3192;hpb=802a50ffcd5f39bfc6424ac841de4e41154092fc;p=tinc diff --git a/src/net.h b/src/net.h index 0f70a4b4..ff32b73c 100644 --- a/src/net.h +++ b/src/net.h @@ -143,6 +143,8 @@ extern void send_mtu_probe(struct node_t *); #ifndef HAVE_MINGW #define closesocket(s) close(s) +#else +extern CRITICAL_SECTION mutex; #endif #endif /* __TINC_NET_H__ */