summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2001-10-08 16:36:54 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2001-10-08 16:36:54 +0000
commitbc0f49e09be219328a3bec876172931b4e962ecd (patch)
tree00bc275af1efff399cb0be560845fef9f7158b82
parentfe8295d2d223a6c1afb247a63b3b6cec942bcaca (diff)
downloadzsh-bc0f49e09be219328a3bec876172931b4e962ecd.tar.gz
zsh-bc0f49e09be219328a3bec876172931b4e962ecd.tar.xz
zsh-bc0f49e09be219328a3bec876172931b4e962ecd.zip
remove duplicated includes which caused problems on IRIX 5 (15987)
-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>