summaryrefslogtreecommitdiff
path: root/event_rpcgen.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-05-05 15:45:47 +0000
committerNick Mathewson <nickm@torproject.org>2008-05-05 15:45:47 +0000
commitbb37fbb22ef403b993c86ce8930a5061c3d49c93 (patch)
tree2780c4eb670f42ba659e022611d49137e7bfb9f1 /event_rpcgen.py
parentbc6da5ea79be0083c6b276d9fd6a62cb8278f096 (diff)
downloadlibevent-bb37fbb22ef403b993c86ce8930a5061c3d49c93.tar.gz
r19601@catbus: nickm | 2008-05-05 11:45:04 -0400
Make event_rpcgen.py use the new headers. svn:r775
Diffstat (limited to 'event_rpcgen.py')
-rwxr-xr-xevent_rpcgen.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/event_rpcgen.py b/event_rpcgen.py
index 82982467..ea480a25 100755
--- a/event_rpcgen.py
+++ b/event_rpcgen.py
@@ -1561,7 +1561,10 @@ class CCodeGenerator:
'#include <stdlib.h>\n'
'#include <string.h>\n'
'#include <assert.h>\n'
- '#include <event.h>\n\n' )
+ '#include <event2/event.h>\n'
+ '#include <event2/buffer.h>\n'
+ '#include <event2/tag.h>\n\n'
+ )
for statement in cppdirect:
pre += '%s\n' % statement