summaryrefslogtreecommitdiff
path: root/ext
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
commitd61bbc630ca1a52fb05bd5020bc001888da8e130 (patch)
tree99617d97802a91f26a3e1d92ad515096996d5a96 /ext
parent3f860f4c90b944d07c9bb98913ae45511471d9f6 (diff)
* ext/socket/socket.rb: workaround for some of 4.4BSD-Lite derived OSs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 31420d3cf5..a07ba4c266 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