Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d5df77a
)
Thrift-1382: Bundle install doesnot work because thrift crashes
author
Jake Farrell
<jfarrell@apache.org>
Sun, 6 Nov 2011 19:58:32 +0000
(19:58 +0000)
committer
Jake Farrell
<jfarrell@apache.org>
Sun, 6 Nov 2011 19:58:32 +0000
(19:58 +0000)
Client: ruby
Fixing strlcpy header.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1198543
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/ext/strlcpy.h
patch
|
blob
|
history
diff --git
a/lib/rb/ext/strlcpy.h
b/lib/rb/ext/strlcpy.h
index
b37f6f4
..
c6f508f
100644
(file)
--- a/
lib/rb/ext/strlcpy.h
+++ b/
lib/rb/ext/strlcpy.h
@@
-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