summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-08 04:55:08 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-08 04:55:08 +0000
commitbf08a3cca04598109322d31ac9c4d56db14ad24a (patch)
tree99617d97802a91f26a3e1d92ad515096996d5a96
parentcbea7af799f393993b3aa7933108fe134f253b30 (diff)
downloadruby-bf08a3cca04598109322d31ac9c4d56db14ad24a.tar.gz
ruby-bf08a3cca04598109322d31ac9c4d56db14ad24a.tar.xz
ruby-bf08a3cca04598109322d31ac9c4d56db14ad24a.zip
* ext/socket/socket.rb: workaround for some of 4.4BSD-Lite derived OSs.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/socket/socket.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d512ad652..5edab293c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 8 13:54:40 2005 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/socket/socket.rb: workaround for some of 4.4BSD-Lite derived OSs.
+
Sat Mar 8 01:27:00 2005 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c: follow nkf 1.66
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 31420d3cf..a07ba4c26 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -30,6 +30,7 @@
# include <net/socket.h>
#else
# include <sys/socket.h>
+# define pseudo_AF_FTIP pseudo_AF_RTIP /* workaround for NetBSD and etc. */
#endif
#include <netinet/in.h>
#ifdef HAVE_NETINET_IN_SYSTM_H