aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/epee_utils.cpp
diff options
context:
space:
mode:
authoriDunk5400 <iDunk5400@users.noreply.github.com>2017-10-08 23:59:08 +0200
committeriDunk5400 <iDunk5400@users.noreply.github.com>2017-10-08 23:59:08 +0200
commit44c1d160c83405b909d5ff339d572051becbd6c1 (patch)
tree81ddc2eb6e7a3ffe79e8503da8d1e2db9851d861 /tests/unit_tests/epee_utils.cpp
parentMerge pull request #2548 (diff)
downloadmonero-44c1d160c83405b909d5ff339d572051becbd6c1.tar.xz
unit_tests: fix compiling on Windows
Diffstat (limited to 'tests/unit_tests/epee_utils.cpp')
-rw-r--r--tests/unit_tests/epee_utils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/unit_tests/epee_utils.cpp b/tests/unit_tests/epee_utils.cpp
index f6cb0c163..a13081491 100644
--- a/tests/unit_tests/epee_utils.cpp
+++ b/tests/unit_tests/epee_utils.cpp
@@ -37,9 +37,7 @@
#include <sstream>
#include <vector>
-#ifdef _WIN32
-# include <winsock.h>
-#else
+#ifndef _WIN32
# include <arpa/inet.h>
#endif