diff options
Diffstat (limited to 'librabbitmq/amqp_socket.c')
-rw-r--r-- | librabbitmq/amqp_socket.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c index d7c523e..6b9486c 100644 --- a/librabbitmq/amqp_socket.c +++ b/librabbitmq/amqp_socket.c @@ -30,6 +30,11 @@ * ***** END LICENSE BLOCK ***** */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "amqp_private.h" #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -37,11 +42,6 @@ #include <stdarg.h> #include <assert.h> -#include "amqp.h" -#include "amqp_framing.h" -#include "amqp_private.h" - - int amqp_open_socket(char const *hostname, int portnumber) { @@ -368,7 +368,7 @@ static int amqp_login_inner(amqp_connection_state_t state, { int res; amqp_method_t method; - uint32_t server_frame_max; + int server_frame_max; uint16_t server_channel_max; uint16_t server_heartbeat; |