THRIFT-302. ruby: Native extension fails to build
A piece of code needed for compilation on Linux was missing; this patch replaces it. Also, there were some compiler warnings and declarations that were missing that are now fixed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@740366 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/ext/thrift_native.c b/lib/rb/ext/thrift_native.c
index 60d0fc0..89d32c5 100644
--- a/lib/rb/ext/thrift_native.c
+++ b/lib/rb/ext/thrift_native.c
@@ -166,4 +166,4 @@
Init_struct();
Init_binary_protocol_accelerated();
Init_memory_buffer();
-}
\ No newline at end of file
+}