pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Campbell <mark.campbell@ucs-software.co.za>
Cc: pgsql-ports@postgresql.org
Subject: Re: Compiling on 8.1.3 on Openserver 5.05
Date: Thu, 11 May 2006 15:51:46 -0400
Message-ID: <4219.1147377106@sss.pgh.pa.us> (raw)
In-Reply-To: <446394EF.8000509@ucs-software.co.za>
References: <4463437E.5020108@ucs-software.co.za>
	<6844.1147359792@sss.pgh.pa.us>
	<44635654.6000904@ucs-software.co.za>
	<14842.1147368177@sss.pgh.pa.us>
	<44638C47.6010707@ucs-software.co.za>
	<26180.1147375495@sss.pgh.pa.us>
	<446394EF.8000509@ucs-software.co.za>

Mark Campbell <mark.campbell@ucs-software.co.za> writes:
> and this in resolv.h

> /*
>  * This used to be defined in res_query.c, now it's in herror.c.  It was
>  * never extern'd by any *.h file before it was placed here.  herror.c is
>  * part of libresolv.a even though it might make more sense in libnetdb.a
>  * or even libnet.a.
>  */

> extern int h_errno;

So reading the standard isn't high on their to-do list for resolving
such questions :-(

Although you could probably fix this with #include <resolv.h>, that
seems a bit random to me.  Why don't you try this instead in
getaddrinfo.c:

	#ifndef h_errno
	extern int h_errno;
	#endif

			regards, tom lane



view thread (18+ messages)  latest in thread

Message-ID: <4219.1147377106@sss.pgh.pa.us>
Permalink:  ../4219.1147377106@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4219.1147377106@sss.pgh.pa.us

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mark.campbell@ucs-software.co.za
  Subject: Re: Compiling on 8.1.3 on Openserver 5.05
  In-Reply-To: <4219.1147377106@sss.pgh.pa.us>
  References: <4463437E.5020108@ucs-software.co.za> <6844.1147359792@sss.pgh.pa.us> <44635654.6000904@ucs-software.co.za> <14842.1147368177@sss.pgh.pa.us> <44638C47.6010707@ucs-software.co.za> <26180.1147375495@sss.pgh.pa.us> <446394EF.8000509@ucs-software.co.za> <4219.1147377106@sss.pgh.pa.us>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox