summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librabbitmq/amqp.h4
-rw-r--r--librabbitmq/codegen.py2
2 files changed, 6 insertions, 0 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
index 5807da5..2e8cecc 100644
--- a/librabbitmq/amqp.h
+++ b/librabbitmq/amqp.h
@@ -39,6 +39,8 @@
* ***** END LICENSE BLOCK *****
*/
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -413,4 +415,6 @@ RABBITMQ_EXPORT int amqp_parse_url(char *url,
}
#endif
+#include <amqp_framing.h>
+
#endif
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 <amqp.h>
+
#ifdef __cplusplus
extern "C" {
#endif