delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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: | <417B707A.5050008@familiehaase.de> |
Date: | Sun, 24 Oct 2004 11:06:02 +0200 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Organization: | Esse keine toten Tiere |
User-Agent: | Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
CC: | autoconf AT gnu DOT org |
Subject: | [bugreport] resolv.h test fails (was: Re: minires-devel-0.97-1: resolv.h fails) |
References: | <41731C28 DOT 8060109 AT x-ray DOT at> <41731C28 DOT 8060109 AT x-ray DOT at> <3 DOT 0 DOT 5 DOT 32 DOT 20041023210329 DOT 0081f140 AT incoming DOT verizon DOT net> |
In-Reply-To: | <3.0.5.32.20041023210329.0081f140@incoming.verizon.net> |
X-IsSubscribed: | yes |
Pierre A. Humblet wrote: > 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 <resolv.h> fails suddenly. >>> >>>Apparently /usr/include/resolv.h misses the definition for >>>sockaddr_in, which is defined in <cygwin/in.h> >>> >>>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 > <http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?resolver+3> > SYNOPSIS > #include <sys/types.h> > #include <netinet/in.h> > #include <arpa/nameser.h> > #include <resolv.h> > I think this is correct. What is buggy is the autoconf test which is just including resolv.h and not netinet/in.h to compile the test exe. Gerrit -- =^..^= -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |