projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a mutex to allow the TAP reader to process packets faster on Windows.
[oweals/tinc.git]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index 0f70a4b49813cc2f9f69e603fdf9d30eaa7c3192..ff32b73c9181e6746240dcc982782800d99fa313 100644
(file)
--- 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__ */