Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zftp.c doesn't compile on IRIX6.5
- X-seq: zsh-workers 11610
- From: jarausch@xxxxxxxxxxxxxxxxxxx
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: zftp.c doesn't compile on IRIX6.5
- Date: Sun, 28 May 2000 17:53:58 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Reply-to: jarausch@xxxxxxxxxxxxxxxxxxx
The cvs version from today doesn't compile on IRIX 6.5
It seems there is a bug on IRIX.
It uses a type 'n_long' within <netinet/ip.h>
but fails to include <netinet/in_systm.h>
where this is defined.
I had to apply the following (ugly) workaround
*** zftp.c.orig Sun May 28 17:34:38 2000
--- zftp.c Sun May 28 17:34:39 2000
***************
*** 64,69 ****
--- 64,72 ----
#ifdef HAVE_NETINET_IN_SYSTM_H
# include <netinet/in_systm.h>
#endif
+ #ifdef __sgi
+ #include <netinet/in_systm.h>
+ #endif
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany
Messages sorted by:
Reverse Date,
Date,
Thread,
Author