summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librabbitmq/amqp.h1
-rw-r--r--librabbitmq/amqp_private.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
index 82b7c02..441e5b9 100644
--- a/librabbitmq/amqp.h
+++ b/librabbitmq/amqp.h
@@ -113,7 +113,6 @@
# define AMQP_CALL __cdecl
#elif defined(__GNUC__) && __GNUC__ >= 4
-# include <sys/uio.h>
# define AMQP_PUBLIC_FUNCTION \
__attribute__ ((visibility ("default")))
# define AMQP_PUBLIC_VARIABLE \
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h
index c2e63c3..e11ce16 100644
--- a/librabbitmq/amqp_private.h
+++ b/librabbitmq/amqp_private.h
@@ -57,6 +57,7 @@
# include <Winsock2.h>
#else
# include <arpa/inet.h>
+# include <sys/uio.h>
#endif
/* GCC attributes */