Added experimental Haiku OS support.

It compiles and it runs with some minor glitches.
This commit is contained in:
Jan Vidar Krey
2010-01-28 01:29:34 +01:00
parent 4e9488dd4d
commit 7637d9ba68
3 changed files with 14 additions and 2 deletions

View File

@@ -351,6 +351,9 @@ int net_accept(int fd, struct ip_addr_encap* ipaddr)
{
switch (net_error())
{
#if defined(__HAIKU__)
case ETIMEDOUT:
#endif
#if defined(__linux__)
case ENETDOWN:
case EPROTO: