diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-08-26 13:39:32 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-08-26 13:39:32 -0400 |
commit | ab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d (patch) | |
tree | 6443da66048e206549901ab7f49b3772749a755a /WWW/Library/Implementation/www_tcp.h | |
parent | fde43024bd6579b609526faf94dcdbcb6f2bc5e1 (diff) | |
download | lynx-snapshots-ab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d.tar.gz |
snapshot of project "lynx", label v2-8-3dev_7
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r-- | WWW/Library/Implementation/www_tcp.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h index b9e3bbf5..8be165b8 100644 --- a/WWW/Library/Implementation/www_tcp.h +++ b/WWW/Library/Implementation/www_tcp.h @@ -496,7 +496,7 @@ struct timeval { #define GLOBALREF extern #endif /* !GLOBALREF */ -#ifdef DJGPP +#ifdef __DJGPP__ #undef SELECT #define TCP_INCLUDES_DONE #define NO_IOCTL @@ -504,6 +504,14 @@ struct timeval { #include <errno.h> #include <sys/types.h> #include <socket.h> +#include <io.h> +#ifdef WATT32 +#include <arpa/inet.h> +#include <tcp.h> +#ifdef word +#undef word +#endif /* word */ +#endif /* WATT32 */ #undef NETWRITE #define NETWRITE write_s @@ -513,7 +521,7 @@ struct timeval { #define NETCLOSE close_s #ifndef WATT32 #define getsockname getsockname_s -#endif /* WATT32 */ +#endif /* !WATT32 */ #ifdef HAVE_GETTEXT #define gettext gettext__ #endif @@ -656,7 +664,7 @@ Defaults #endif /* !NO_IOCTL */ #include <sys/socket.h> #include <netinet/in.h> -#ifndef __hpux /* this may or may not be good -marc */ +#if !defined( __hpux) && !defined(__BEOS__) /* this may or may not be good -marc */ #include <arpa/inet.h> /* Must be after netinet/in.h */ #endif /* !__hpux */ #include <netdb.h> |