From d1349dd61e0c9248ec9be3edaa37a67952e44300 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 3 Jun 2001 21:17:35 -0400 Subject: snapshot of project "lynx", label v2-8-4dev_21 --- WWW/Library/Implementation/www_tcp.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'WWW/Library/Implementation/www_tcp.h') diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h index 4ab53b08..9de8ea51 100644 --- a/WWW/Library/Implementation/www_tcp.h +++ b/WWW/Library/Implementation/www_tcp.h @@ -71,6 +71,7 @@ Default values #endif /* DJGPP or __BORLANDC__ */ #if defined(_MSC_VER) +#undef HAVE_DIRENT_H #define HAVE_DIRENT_H #undef HAVE_SYS_FILIO_H #endif /* _MSC_VER */ @@ -191,9 +192,8 @@ extern int ws_netread(int fd, char *buf, int len); #include #include -/* FIXME: someone might consider porting to winsock2.h */ #ifdef USE_WINSOCK2_H -#include +#include /* normally included in windows.h */ #undef EINPROGRESS #undef EALREADY @@ -680,6 +680,8 @@ typedef int pid_t; #include #endif +#define N_(s) (s) + #ifndef HAVE_GETTEXT #define gettext(s) s #endif @@ -701,6 +703,8 @@ Defaults #include #endif /* TCP includes */ +typedef unsigned short PortNumber; + #ifndef S_ISLNK #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) #endif /* S_ISLNK */ -- cgit 1.4.1-2-gfad0