[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugreport] resolv.h test fails (was: Re: minires-devel-0.97-1: resolv.h

From: Gerrit P. Haase
Subject: [bugreport] resolv.h test fails (was: Re: minires-devel-0.97-1: resolv.h fails)
Date: Sun, 24 Oct 2004 11:06:02 +0200
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910

Pierre A. Humblet wrote:

At 01:03 PM 10/18/2004 +0200, Corinna Vinschen wrote:

On Oct 18 03:28, Reini Urban wrote:

 #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.


Its an upstream issue. According to the resolver man page, netinet/in.h should be included before resolv.h.

For example
     #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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]