From 7d222a75e098a73746de945da8f1ff368709e6ee Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 6 Mar 2012 16:09:23 -0500 Subject: amqp.h should include stdint.h amqp.h uses uint8_t, uint16_t, uint32_t, and uint64_t and therefore should #include --- librabbitmq/amqp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h index 5807da5..dcf4de3 100644 --- a/librabbitmq/amqp.h +++ b/librabbitmq/amqp.h @@ -39,6 +39,8 @@ * ***** END LICENSE BLOCK ***** */ +#include + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.1 From 99aa988abfe2d6cc9f921c867b6419ed10742da5 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 6 Mar 2012 16:10:36 -0500 Subject: amqp_framing.h should include amqp.h amqp_framing.h uses typedefs that are defined in amqp.h --- librabbitmq/codegen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librabbitmq/codegen.py b/librabbitmq/codegen.py index 905d313..cc07bcb 100644 --- a/librabbitmq/codegen.py +++ b/librabbitmq/codegen.py @@ -566,6 +566,8 @@ def genHrl(spec): #ifndef librabbitmq_amqp_framing_h #define librabbitmq_amqp_framing_h +#include + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.1 From 1c300fb6d7e0df86f767f9b4e53ba2c290c3c558 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Tue, 6 Mar 2012 16:12:25 -0500 Subject: amqp.h should include amqp_framing.h at the bottom Lessen the requirement on developers to #include multiple related files --- librabbitmq/amqp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h index dcf4de3..2e8cecc 100644 --- a/librabbitmq/amqp.h +++ b/librabbitmq/amqp.h @@ -415,4 +415,6 @@ RABBITMQ_EXPORT int amqp_parse_url(char *url, } #endif +#include + #endif -- cgit v1.2.1