about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/www_tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r--WWW/Library/Implementation/www_tcp.h8
1 files changed, 6 insertions, 2 deletions
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 <errno.h>
 #include <direct.h>
 
-/* FIXME: someone might consider porting to winsock2.h */
 #ifdef USE_WINSOCK2_H
-#include <winsock.h>
+#include <winsock2.h>		/* normally included in windows.h */
 
 #undef EINPROGRESS
 #undef EALREADY
@@ -680,6 +680,8 @@ typedef int pid_t;
 #include <libintl.h>
 #endif
 
+#define N_(s) (s)
+
 #ifndef HAVE_GETTEXT
 #define gettext(s) s
 #endif
@@ -701,6 +703,8 @@ Defaults
 #include <netdb.h>
 #endif  /* TCP includes */
 
+typedef unsigned short PortNumber;
+
 #ifndef S_ISLNK
 #define S_ISLNK(m)	(((m) & S_IFMT) == S_IFLNK)
 #endif /* S_ISLNK */
lt;dickey@invisible-island.net> 1997-01-29 21:25:58 -0500 committer Thomas E. Dickey <dickey@invisible-island.net> 1997-01-29 21:25:58 -0500 snapshot of project "lynx", label v2_6fm_970129' href='/ingrix/lynx-snapshots/commit/src/descrip.mms?id=c3ec4181d988501e4d7116f32c669d5ca69e7060'>c3ec4181 ^
c16270ee ^



e087f6d4
c16270ee ^
6512ca27 ^
e087f6d4
29b07700 ^




e087f6d4
29b07700 ^
e087f6d4


e087f6d4
29b07700 ^








e087f6d4


29b07700 ^







e087f6d4
29b07700 ^


e087f6d4
29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
e087f6d4
29b07700 ^













e087f6d4

29b07700 ^
e087f6d4
29b07700 ^
e087f6d4
29b07700 ^



e087f6d4
29b07700 ^

e087f6d4

29b07700 ^

e087f6d4




b223937f ^


29b07700 ^
e087f6d4
b223937f ^




e087f6d4




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172