projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tincctl: add node colors and edge weight to graph dump.
[oweals/tinc.git]
/
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
@@
-199,4
+200,10
@@
#include <event.h>
#endif
+#ifdef HAVE_MINGW
+#define SLASH "\\"
+#else
+#define SLASH "/"
+#endif
+
#endif /* __TINC_SYSTEM_H__ */