r19601@catbus: nickm | 2008-05-05 11:45:04 -0400

Make event_rpcgen.py use the new headers.


svn:r775
This commit is contained in:
Nick Mathewson 2008-05-05 15:45:47 +00:00
parent bc6da5ea79
commit bb37fbb22e

View File

@ -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