zeromq plugin: Move <arpa/inet.h> up (before "zeromq_borrowed.c").
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 16 Nov 2010 10:10:46 +0000 (11:10 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 16 Nov 2010 10:10:46 +0000 (11:10 +0100)
src/zeromq.c

index 191f88a..d1e0051 100644 (file)
@@ -29,8 +29,6 @@
 #include "utils_cache.h"
 #include "network.h"
 
-#include "zeromq_borrowed.c"
-
 /* for htons() */
 #if HAVE_ARPA_INET_H
 # include <arpa/inet.h>
@@ -38,6 +36,8 @@
 #include <pthread.h>
 #include <zmq.h>
 
+#include "zeromq_borrowed.c"
+
 struct cmq_socket_s
 {
        void *socket;