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>2006-01-23 01:26:00 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2006-01-23 01:26:00 -0500
commit04a316621e7163aa1d3a747c47844da55c6aa4d6 (patch)
tree89da810392c92dcde38dafe5313b8602b636b219 /WWW/Library/Implementation/www_tcp.h
parent01876e39ab4775cc04d1fdc8e491fe2e7de9c1a3 (diff)
downloadlynx-snapshots-04a316621e7163aa1d3a747c47844da55c6aa4d6.tar.gz
snapshot of project "lynx", label v2-8-6dev_17
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 bf99ce76..a8179aff 100644
--- a/WWW/Library/Implementation/www_tcp.h
+++ b/WWW/Library/Implementation/www_tcp.h
@@ -204,6 +204,10 @@ extern int ws_netread(int fd, char *buf, int len);
 #error Define "WIN32_LEAN_AND_MEAN" in your makefile
 #endif
 
+#ifdef _WINSOCKAPI_
+#error windows.h included before winsock2.h
+#endif
+
 #if defined(_MSC_VER) && (!defined(_WIN32_WINNT) || _WIN32_WINNT < 0x0501)
 /*
  * Needed to pull in the real getaddrinfo() and not the inline version