diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-24 06:29:30 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-24 06:29:30 +0000 |
commit | d0c1a3437e519fb0cd959ecb5e4634dee22303db (patch) | |
tree | ceced16ec6aa0d2b4083eb91dbca481ce2b70e0e /ext | |
parent | c6447e540e6f5683a917f70aa99097bb2946921f (diff) | |
download | ruby-d0c1a3437e519fb0cd959ecb5e4634dee22303db.tar.gz ruby-d0c1a3437e519fb0cd959ecb5e4634dee22303db.tar.xz ruby-d0c1a3437e519fb0cd959ecb5e4634dee22303db.zip |
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/sockport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/socket/sockport.h b/ext/socket/sockport.h index d19b1e1db..e1cddf53f 100644 --- a/ext/socket/sockport.h +++ b/ext/socket/sockport.h @@ -69,4 +69,8 @@ # define PF_INET AF_INET #endif +#if defined(HOST_NOT_FOUND) && !defined(h_errno) && !defined(__CYGWIN__) +extern int h_errno; +#endif + #endif |