Re: Trouble building 8.1.1 on Tru64 UNIX 5.1

From: Albert Chin <pgsql-hackers(at)mlists(dot)thewrittenword(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Trouble building 8.1.1 on Tru64 UNIX 5.1
Date: 2005-12-19 23:20:20
Message-ID: 20051219232020.GC22924@mail1.thewrittenword.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, Dec 19, 2005 at 05:59:12PM -0500, Tom Lane wrote:
> Albert Chin <pgsql-hackers(at)mlists(dot)thewrittenword(dot)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(at)thewrittenword(dot)com)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jess Balint 2005-12-19 23:33:22 Lock issue when trying to vacuum db
Previous Message Tom Lane 2005-12-19 22:59:12 Re: Trouble building 8.1.1 on Tru64 UNIX 5.1

Browse pgsql-patches by date

  From Date Subject
Next Message Karl O. Pinc 2005-12-19 23:23:59 Re: Converting seconds past midnight to a time
Previous Message Tom Lane 2005-12-19 22:59:12 Re: Trouble building 8.1.1 on Tru64 UNIX 5.1