summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-13 05:18:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-04-13 05:18:12 +0000
commit09b1fdc2784439c06cbbb5d07f5abc5560ba900b (patch)
tree1ea226471963b70d34fa9f9634edadd5cdaf692f
parent832ebd2d4d536d03ca86b2f81daa3334376586b3 (diff)
remove strdup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/socket/socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index b7502e2..c630a4b 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -64,7 +64,9 @@ void SOCKSinit();
int Rconnect();
#endif
+#ifndef HAVE_STRDUP
char *strdup();
+#endif
#define INET_CLIENT 0
#define INET_SERVER 1