aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src/ruby
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-01-30 18:35:13 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-01-30 18:35:13 +0100
commitb8e9e9c8463118e0996a120489ae8d9a4bd42969 (patch)
tree71dafc1417ce134bad67591b2a0427cca62871e6 /templates/src/ruby
parent09121799b0bfa57d4076ec2661d99f5c3b185ef2 (diff)
Fixing the Ruby build after all these merges.
Diffstat (limited to 'templates/src/ruby')
-rw-r--r--templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template2
-rw-r--r--templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template
index af2afe168a..e09a58781d 100644
--- a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template
+++ b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.c.template
@@ -37,7 +37,7 @@
#ifdef GPR_WIN32
- #include "rb_grpc_imports.h"
+ #include "rb_grpc_imports.generated.h"
%for api in c_apis:
${api.name}_type ${api.name}_import;
diff --git a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template
index 7873df583a..9f17edeec0 100644
--- a/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template
+++ b/templates/src/ruby/ext/grpc/rb_grpc_imports.generated.h.template
@@ -32,7 +32,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
-
+
#ifndef GRPC_RB_GRPC_IMPORTS_H_
#define GRPC_RB_GRPC_IMPORTS_H_
@@ -43,7 +43,7 @@
#include <windows.h>
%for header in sorted(set(api.header for api in c_apis)):
- #include <${header}>
+ #include <${'/'.join(header.split('/')[1:])}>
%endfor
%for api in c_apis: