diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-06-29 07:45:11 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-06-29 07:45:11 +0200 |
commit | 79a3d07c8587e840548791efc314b0184c584881 (patch) | |
tree | 6f9cb9bdf951e7c1ca39c3f098071aa3f8cbc8c4 | |
parent | ba91644fdb48cec97edc6965c4ca7ab564a3513f (diff) |
MSVC build fixed
-rw-r--r-- | src/msg_store.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/msg_store.cpp b/src/msg_store.cpp index 1a5f965..aaf6dbe 100644 --- a/src/msg_store.cpp +++ b/src/msg_store.cpp @@ -17,6 +17,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "platform.hpp" + +#ifdef ZMQ_HAVE_WINDOWS +#include "windows.hpp" +#include <io.h> +#else +#include <unistd.h> +#endif + #include "../include/zmq.h" #include <sys/types.h> @@ -26,14 +35,6 @@ #include <sstream> #include <algorithm> -#include "platform.hpp" - -#ifdef ZMQ_HAVE_WINDOWS -#include <io.h> -#else -#include <unistd.h> -#endif - #include "atomic_counter.hpp" #include "msg_store.hpp" #include "err.hpp" |