mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 22:32:12 +02:00
remove duplicated includes which caused problems on IRIX 5 (15987)
This commit is contained in:
parent
fe8295d2d2
commit
bc0f49e09b
2 changed files with 3 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue