diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2012-03-06 14:00:33 -0800 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2012-03-06 14:00:33 -0800 |
commit | 9c34844216655dcf64f8d38ae363327d2fb3d42a (patch) | |
tree | a6ca5673b2c20b8f6997f681d18cc6d9e8a1e2d7 | |
parent | c0a56f927af99561a99f69c1fd8a01e6536c5fab (diff) | |
parent | 1c300fb6d7e0df86f767f9b4e53ba2c290c3c558 (diff) | |
download | rabbitmq-c-github-ask-9c34844216655dcf64f8d38ae363327d2fb3d42a.tar.gz |
Merge pull request #10 from alanxz/public_header_includes_fix
Public header includes fix
-rw-r--r-- | librabbitmq/amqp.h | 4 | ||||
-rw-r--r-- | librabbitmq/codegen.py | 2 |
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 |