zsh-workers
 help / color / mirror / code / Atom feed
From: Hannu Koivisto <azure@iki.fi>
To: zsh-workers@sunsite.dk
Subject: Cygwin 1.3.12/zsh 4.0.6/zftp.c compilation problem
Date: Wed, 09 Oct 2002 14:53:36 +0300	[thread overview]
Message-ID: <87y997eslb.fsf@lynx.ionific.com> (raw)

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


             reply	other threads:[~2002-10-09 11:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 11:53 Hannu Koivisto [this message]
2002-10-14  8:52 ` Borzenkov Andrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y997eslb.fsf@lynx.ionific.com \
    --to=azure@iki.fi \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).