summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2009-04-26 23:32:27 +0100
committerTony Garnock-Jones <tonyg@lshift.net>2009-04-26 23:32:27 +0100
commite4614ed78b85be70a6bd973a857205c4b7dcd639 (patch)
tree47d944c6e3435b05fc184ff0c972c9be9b978dee
parente1dec49d13caa05af05984af12f3e8354387f33f (diff)
downloadrabbitmq-c-github-ask-e4614ed78b85be70a6bd973a857205c4b7dcd639.tar.gz
Include arpa/inet.h, for linux
-rw-r--r--librabbitmq/amqp_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h
index 6f9d508..495e8f5 100644
--- a/librabbitmq/amqp_private.h
+++ b/librabbitmq/amqp_private.h
@@ -5,6 +5,8 @@
extern "C" {
#endif
+#include <arpa/inet.h> /* ntohl, htonl, ntohs, htons */
+
/*
* Connection states:
*