]> git.meshlink.io Git - meshlink/blobdiff - have.h
Have tincctl act as a shell when no command is given.
[meshlink] / have.h
diff --git a/have.h b/have.h
index 0ab813461c41bcf54bd8d397cfa18d334066feb8..7544bf9cf8847de8e73ab78c04b450fd29d27379 100644 (file)
--- a/have.h
+++ b/have.h
@@ -42,6 +42,7 @@
 
 #ifdef HAVE_MINGW
 #include <w32api.h>
+#include <winsock2.h>
 #include <windows.h>
 #include <ws2tcpip.h>
 #endif
 #include <event.h>
 #endif
 
+#ifdef HAVE_MINGW
+#define SLASH "\\"
+#else
+#define SLASH "/"
+#endif
+
 #endif /* __TINC_SYSTEM_H__ */