diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-14 02:03:41 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-14 02:03:41 +0000 |
| commit | d33c817d977afe134c407c9cf07f33405d3fae67 (patch) | |
| tree | fe48a96272739ebce44fb9f1739891e70f57a14a | |
| parent | 40826c894091adfd923e90681d1d5556665208f0 (diff) | |
| download | ruby-d33c817d977afe134c407c9cf07f33405d3fae67.tar.gz ruby-d33c817d977afe134c407c9cf07f33405d3fae67.tar.xz ruby-d33c817d977afe134c407c9cf07f33405d3fae67.zip | |
* defines.h: include <net/socket.h> to get fd_set definition in BeOS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | defines.h | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Apr 14 10:57:40 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * defines.h: include <net/socket.h> to get fd_set definition in BeOS. + Tue Apr 13 23:00:55 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * lib/rinda/rinda.rb: change pattern matching. @@ -188,6 +188,10 @@ typedef int pid_t; #include "vms/vms.h" #endif +#if defined(__BEOS__) +#include <net/socket.h> /* intern.h needs fd_set definition */ +#endif + #undef RUBY_EXTERN #if defined _WIN32 && !defined __GNUC__ # ifndef RUBY_EXPORT @@ -228,7 +232,7 @@ flush_register_windows(void) # define FLUSH_REGISTER_WINDOWS flush_register_windows() #else # define FLUSH_REGISTER_WINDOWS ((void)0) -#endif +#endif #if defined(DOSISH) #define PATH_SEP ";" |
