summaryrefslogtreecommitdiff
path: root/src/ctx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctx.cpp')
-rw-r--r--src/ctx.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp
index 6d6242e..fb5420d 100644
--- a/src/ctx.cpp
+++ b/src/ctx.cpp
@@ -31,13 +31,9 @@
#include "msg.hpp"
#if defined ZMQ_HAVE_WINDOWS
-#ifndef WIN32_LEAN_AND_MEAN
-#define WIN32_LEAN_AND_MEAN
-#endif
-#include <winsock2.h>
-#include <windows.h>
+#include "windows.h"
#else
-#include <unistd.h>
+#include "unistd.h"
#endif
zmq::ctx_t::ctx_t (uint32_t io_threads_) :