]> tinc-vpn.org Git - tinc/blobdiff - src/dropin.h
Fix compression when using the SPTPS protocol.
[tinc] / src / dropin.h
index 5279de79f4f1477f3933db39d483977cfec5e306..abac29094ef1f5360183fe0c89182d1f8618e55e 100644 (file)
@@ -63,4 +63,11 @@ extern int usleep(long long usec);
 } while (0)
 #endif
 
+#ifdef HAVE_MINGW
+#define mkdir(a, b) mkdir(a)
+#ifndef SHUT_RDWR
+#define SHUT_RDWR SD_BOTH
+#endif
+#endif
+
 #endif /* __DROPIN_H__ */