Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Cygwin 1.3.12/zsh 4.0.6/zftp.c compilation problem
- X-seq: zsh-workers 17797
- From: Hannu Koivisto <azure@xxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Cygwin 1.3.12/zsh 4.0.6/zftp.c compilation problem
- Date: Wed, 09 Oct 2002 14:53:36 +0300
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: Hannu Koivisto <Hannu.Koivisto@xxxxxxxxxxx>
Greetings,
zsh 4.0.6 fails to compile under the latest Cygwin (1.3.12) because
zftp.c includes netinet/ip.h but not netinet/in_systm.h:
#ifndef __CYGWIN__
# include <netinet/in_systm.h>
#endif
#include <netinet/in.h>
#include <netinet/ip.h>
netinet/ip.h refers to at least n_long which is defined in
netinet/in_systm.h (or more precicely, in cygwin/in_systm.h that
netinet/in_systm.h includes) so netinet/in_systm.h is needed. If I
comment out the first and the third lines in the above code, zsh
compiles and seems to work.
--
Hannu
Messages sorted by:
Reverse Date,
Date,
Thread,
Author