You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jf...@apache.org on 2011/11/06 20:58:32 UTC

svn commit: r1198543 - /thrift/trunk/lib/rb/ext/strlcpy.h

Author: jfarrell
Date: Sun Nov  6 19:58:32 2011
New Revision: 1198543

URL: http://svn.apache.org/viewvc?rev=1198543&view=rev
Log:
Thrift-1382: Bundle install doesnot work because thrift crashes
Client: ruby

Fixing strlcpy header.


Modified:
    thrift/trunk/lib/rb/ext/strlcpy.h

Modified: thrift/trunk/lib/rb/ext/strlcpy.h
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/rb/ext/strlcpy.h?rev=1198543&r1=1198542&r2=1198543&view=diff
==============================================================================
--- thrift/trunk/lib/rb/ext/strlcpy.h (original)
+++ thrift/trunk/lib/rb/ext/strlcpy.h Sun Nov  6 19:58:32 2011
@@ -18,11 +18,12 @@
  */
 
 
+#include <sys/types.h>
 #include <string.h>
 
 #ifndef HAVE_STRLCPY
 size_t
-strlcpy (char *dst, const char *src, size_t dst_sz)
+strlcpy (char *dst, const char *src, size_t dst_sz);
 #else
 extern size_t strlcpy(char *, const char *, size_t);
 #endif