summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonygarnockjones@gmail.com>2010-03-30 20:26:36 -0400
committerTony Garnock-Jones <tonygarnockjones@gmail.com>2010-03-30 20:26:36 -0400
commit333d8fa3accf1df86b464265f5bb9e8d88e63b5c (patch)
treeb8165907a495b61939901fc8408441295135e1c2
parentd28401b455eb00f822ea0b8ac472c82ed8516615 (diff)
downloadrabbitmq-c-github-ask-333d8fa3accf1df86b464265f5bb9e8d88e63b5c.tar.gz
Include stdint.h in generated C. HT @geoffgarside.
-rw-r--r--librabbitmq/codegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/librabbitmq/codegen.py b/librabbitmq/codegen.py
index 26fc8f1..4f236a2 100644
--- a/librabbitmq/codegen.py
+++ b/librabbitmq/codegen.py
@@ -253,6 +253,7 @@ def genErl(spec):
print '/* Autogenerated code. Do not edit. */'
print
print '#include <stdlib.h>'
+ print '#include <stdint.h>'
print '#include <string.h>'
print '#include <stdio.h>'
print '#include <errno.h>'