diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2013-08-12 21:25:36 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2013-08-12 21:25:36 -0400 |
| commit | d6414c9ff74e3f8076a1e94d3c6074366119900e (patch) | |
| tree | b0620f1f1610b51b386964d6758b5787b6cb7d6f /node/Node.cpp | |
| parent | 5076c75b079fe02c843ca85dc20821e468b2d7b8 (diff) | |
| download | infinitytier-d6414c9ff74e3f8076a1e94d3c6074366119900e.tar.gz infinitytier-d6414c9ff74e3f8076a1e94d3c6074366119900e.zip | |
Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start.
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index f01f4659..dd6b50a2 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -29,6 +29,8 @@ #include <stdlib.h> #include <string.h> #include <errno.h> +#include <sys/stat.h> + #include <map> #include <set> #include <utility> @@ -37,6 +39,13 @@ #include <vector> #include <string> +#include "Constants.hpp" + +#ifdef __WINDOWS__ +#include <WinSock2.h> +#include <Windows.h> +#endif + #include "Condition.hpp" #include "Node.hpp" #include "Topology.hpp" @@ -46,7 +55,6 @@ #include "Utils.hpp" #include "EthernetTap.hpp" #include "Logger.hpp" -#include "Constants.hpp" #include "InetAddress.hpp" #include "Salsa20.hpp" #include "HMAC.hpp" @@ -68,7 +76,6 @@ #include <unistd.h> #include <signal.h> #include <sys/file.h> -#include <sys/stat.h> #endif #include "../version.h" |
