diff options
author | akiyoshi <akiyoshi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-09 08:15:24 +0000 |
---|---|---|
committer | akiyoshi <akiyoshi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-09 08:15:24 +0000 |
commit | 14173ed0b5107d9cc04ce47ffb3384b88cfe8e6b (patch) | |
tree | c61465402d430e2a8adc109935b1ed9070be4bb2 /ext/socket/socket.c | |
parent | c7f388aec91f229ab26e934f882dbd56636dd3f1 (diff) |
Port socket library to VMS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r-- | ext/socket/socket.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 975c0525e3..c2f5dfdbbe 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -64,6 +64,10 @@ #endif #include "sockport.h" +#if defined(__vms) +#include <tcp.h> +#endif + static int do_not_reverse_lookup = 0; VALUE rb_cBasicSocket; @@ -1856,7 +1860,7 @@ static VALUE sock_s_socketpair(klass, domain, type, protocol) VALUE klass, domain, type, protocol; { -#if !defined(_WIN32) && !defined(__BEOS__) && !defined(__EMX__) && !defined(__QNXNTO__) +#if !defined(_WIN32) && !defined(__BEOS__) && !defined(__EMX__) && !defined(__QNXNTO__) && !defined(__VMS) int d, t, sp[2]; setup_domain_and_type(domain, &d, type, &t); |