Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <3.0.5.32.20041023210329.0081f140@incoming.verizon.net> X-Sender: vze1u1tg AT incoming DOT verizon DOT net Date: Sat, 23 Oct 2004 21:03:29 -0400 To: cygwin AT cygwin DOT com From: "Pierre A. Humblet" Subject: Re: minires-devel-0.97-1: resolv.h fails In-Reply-To: <20041018110318.GC26101@cygbert.vinschen.de> References: <41731C28 DOT 8060109 AT x-ray DOT at> <41731C28 DOT 8060109 AT x-ray DOT at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:03 PM 10/18/2004 +0200, Corinna Vinschen wrote: >On Oct 18 03:28, Reini Urban wrote: >> minires-devel-0.97-1: >> #include fails suddenly. >> >> Apparently /usr/include/resolv.h misses the definition for >> sockaddr_in, which is defined in >> >> Have no clue why it suddenly fails. Anyone else? >> These headers didn't change for years... >> >> Which file is supposed to include cygwin/in.h? I found nothing. > >netinet/in.h Its an upstream issue. According to the resolver man page, netinet/in.h should be included before resolv.h. For example SYNOPSIS #include #include #include #include Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/