summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-10 10:27:53 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-08-10 10:27:53 -0400
commit93a7eef2a5cae22474732a4c077213ca0512be46 (patch)
treefcb2ef84d84da79e1e3d907cdffae076e58a7a9b /node
parent67acba4bc9fe9215f384c0753ec968f032161aee (diff)
downloadinfinitytier-93a7eef2a5cae22474732a4c077213ca0512be46.tar.gz
infinitytier-93a7eef2a5cae22474732a4c077213ca0512be46.zip
Replace libcrypto RAND_ with our own to avoid valgrind errors.
Diffstat (limited to 'node')
-rw-r--r--node/Node.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 47125854..2cacab56 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -37,16 +37,6 @@
#include <vector>
#include <string>
-#ifdef _WIN32
-#include <Windows.h>
-#else
-#include <fcntl.h>
-#include <unistd.h>
-#include <signal.h>
-#include <sys/file.h>
-#include <sys/stat.h>
-#endif
-
#include "Condition.hpp"
#include "Node.hpp"
#include "Topology.hpp"
@@ -71,6 +61,16 @@
#include "CMWC4096.hpp"
#include "Service.hpp"
+#ifdef __WINDOWS__
+#include <Windows.h>
+#else
+#include <fcntl.h>
+#include <unistd.h>
+#include <signal.h>
+#include <sys/file.h>
+#include <sys/stat.h>
+#endif
+
#include "../version.h"
namespace ZeroTier {