about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Modules/tcp.c16
2 files changed, 3 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index 1db77d491..52c65318d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-10-08  Oliver Kiddle  <opk@zsh.org>
 
+	* 15987: Src/Modules/tcp.c: remove includes duplicated from tcp.h
+	which caused problems on IRIX 5.3.
+
 	* 15983: Completion/Unix/Command/_wget, Completion/Unix/Type/_urls,
 	Completion/Unix/Command/_user_admin, Completion/Unix/Command/_sysctl,
 	Completion/Unix/Command/_webbrowser: update for wget 1.7, darwin
diff --git a/Src/Modules/tcp.c b/Src/Modules/tcp.c
index baf742f19..d9eac432e 100644
--- a/Src/Modules/tcp.c
+++ b/Src/Modules/tcp.c
@@ -35,22 +35,6 @@
  */
 #include "tcp.h"
 
-/*
- * For some reason, configure doesn't always detect netinet/in_systm.h.
- * On some systems, including linux, this seems to be because gcc is
- * throwing up a warning message about the redefinition of
- * __USE_LARGEFILE.  This means the problem is somewhere in the
- * header files where we can't get at it.  For now, revert to
- * not including this file only on systems where we know it's missing.
- * Currently this is just cygwin.
- */
-#ifndef __CYGWIN__
-# include <netinet/in_systm.h>
-#endif
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <arpa/inet.h>
-
 /* it's a TELNET based protocol, but don't think I like doing this */
 #include <arpa/telnet.h>