Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zftp.c doesn't compile on IRIX6.5



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