about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/www_tcp.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2003-01-22 10:09:18 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2003-01-22 10:09:18 -0500
commit533c7482785176296637df81cd1a6318a0c29f97 (patch)
treee50cece290409516ee62f08c8912863f5f1ba80a /WWW/Library/Implementation/www_tcp.h
parent490d581c911f53008a7eaaed72b655cf40071b03 (diff)
downloadlynx-snapshots-533c7482785176296637df81cd1a6318a0c29f97.tar.gz
snapshot of project "lynx", label v2-8-5dev_13
Diffstat (limited to 'WWW/Library/Implementation/www_tcp.h')
-rw-r--r--WWW/Library/Implementation/www_tcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/www_tcp.h b/WWW/Library/Implementation/www_tcp.h
index 11a4398f..94db09ee 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -846,4 +846,8 @@ typedef struct sockaddr_in SockA;  /* See netinet/in.h */
 #define SOCKADDR_LEN(soc_address) sizeof(soc_address)
 #endif /* INET6 */
 
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN 64		/* Arbitrary limit */
+#endif /* MAXHOSTNAMELEN */
+
 #endif /* TCP_H */