sptps.c: Add missing newline to log message.
[tinc] / have.h
diff --git a/have.h b/have.h
index 0ab8134..7544bf9 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__ */