diff options
| author | Alan Conway <aconway@apache.org> | 2009-07-14 14:32:39 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-07-14 14:32:39 +0000 |
| commit | ffd20ee19a5fd027e0007c27a12dd402dbeca4f8 (patch) | |
| tree | 82452ea79b23a144d25b34af40de908052b95936 /qpid/cpp/rubygen/framing.0-10/structs.rb | |
| parent | 1bf6c4e9f0622d855cf794d1b7cbf32c2b2036cb (diff) | |
| download | qpid-python-ffd20ee19a5fd027e0007c27a12dd402dbeca4f8.tar.gz | |
Add directory to #include
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/framing.0-10/structs.rb')
| -rwxr-xr-x[-rw-r--r--] | qpid/cpp/rubygen/framing.0-10/structs.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/structs.rb b/qpid/cpp/rubygen/framing.0-10/structs.rb index 8ea8a91172..823d062dd5 100644..100755 --- a/qpid/cpp/rubygen/framing.0-10/structs.rb +++ b/qpid/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 |
