www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/17/21:28:19

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: <41731C28.8060109@x-ray.at>
Date: Mon, 18 Oct 2004 03:28:08 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: minires-devel-0.97-1: resolv.h fails
X-IsSubscribed: yes

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.
On other systems it's defined in sys/socket.h, which is included in 
resolv.h.

After adding the #include <cygwin/in.h> line to resolv.h
everything works fine.
But to my understanding cygwin/socket.h should include cygwin/in.h
as it also includes cygwin/if.h (via asm/socket.h).
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019