Re: Trouble building 8.1.1 on Tru64 UNIX 5.1 - Mailing list pgsql-hackers

From Albert Chin
Subject Re: Trouble building 8.1.1 on Tru64 UNIX 5.1
Date
Msg-id 20051219232020.GC22924@mail1.thewrittenword.com
Whole thread Raw
In response to Re: Trouble building 8.1.1 on Tru64 UNIX 5.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Trouble building 8.1.1 on Tru64 UNIX 5.1
List pgsql-hackers
On Mon, Dec 19, 2005 at 05:59:12PM -0500, Tom Lane wrote:
> Albert Chin <pgsql-hackers@mlists.thewrittenword.com> writes:
> > The problem is that /usr/include/arpa/nameser_compat.h defines a
> > struct named HEADER. This conflicts with the use of preproc.y in
> > src/interfaces/ecpg/preproc/preproc.y.
> 
> > What should it be renamed to?
> 
> Perhaps a more relevant question is why ecpg/preproc is including
> that header.

#include <netdb.h> with -D_REENTRANT includes it. preproc.c:   #include "postgres_fe.h"     #include "c.h"
#include"port.h"          #include <netdb.h>
 

ADD has the same problem.

-- 
albert chin (china@thewrittenword.com)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Trouble building 8.1.1 on Tru64 UNIX 5.1
Next
From: "Jess Balint"
Date:
Subject: Lock issue when trying to vacuum db