summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msg_store.cpp17
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"