diff options
Diffstat (limited to 'src/select.cpp')
-rw-r--r-- | src/select.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/select.cpp b/src/select.cpp index 35d8bd8..5d5ce5d 100644 --- a/src/select.cpp +++ b/src/select.cpp @@ -19,12 +19,8 @@ */ #include "platform.hpp" - -#include <string.h> -#include <algorithm> - -#ifdef ZMQ_HAVE_WINDOWS -#include "winsock2.h" +#if defined ZMQ_HAVE_WINDOWS +#include "windows.hpp" #elif defined ZMQ_HAVE_HPUX #include <sys/param.h> #include <sys/types.h> @@ -36,6 +32,9 @@ #include <sys/select.h> #endif +#include <string.h> +#include <algorithm> + #include "select.hpp" #include "err.hpp" #include "config.hpp" |