X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fnet.h;h=57e9d8db3a0c7ddb05a915e6c7a4f970c49406a1;hp=a28f47858cbb1327b06e64c0cf0602f1189ea77d;hb=075e6828a7533e7daa790225f17aa6bb39703278;hpb=9b129c07e273ae113f3c67a9feeee82e8146f3a1 diff --git a/src/net.h b/src/net.h index a28f4785..57e9d8db 100644 --- a/src/net.h +++ b/src/net.h @@ -149,6 +149,8 @@ extern int reload_configuration(void); #ifndef HAVE_MINGW #define closesocket(s) close(s) +#else +extern CRITICAL_SECTION mutex; #endif #endif /* __TINC_NET_H__ */