diff options
Diffstat (limited to 'cpp/rubygen/framing.0-10/structs.rb')
-rwxr-xr-x[-rw-r--r--] | cpp/rubygen/framing.0-10/structs.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/rubygen/framing.0-10/structs.rb b/cpp/rubygen/framing.0-10/structs.rb index 8ea8a91172..823d062dd5 100644..100755 --- a/cpp/rubygen/framing.0-10/structs.rb +++ b/cpp/rubygen/framing.0-10/structs.rb @@ -462,9 +462,8 @@ EOS buffer = "/*buffer*/" end gen <<EOS -#include "#{classname}.h" - -#include "reply_exceptions.h" +#include "qpid/framing/#{classname}.h" +#include "qpid/framing/reply_exceptions.h" using namespace qpid::framing; @@ -605,7 +604,7 @@ EOS structs.each { |s| define_struct(s) } @amqp.methods_.each { |m| define_struct(m) } #generate a single include file containing the list of structs for convenience - h_file("qpid/framing/amqp_structs.h") { structs.each { |s| genl "#include \"#{s.cppname}.h\"" } } + h_file("qpid/framing/amqp_structs.h") { structs.each { |s| genl "#include \"qpid/framing/#{s.cppname}.h\"" } } end end |