On Mon, Dec 19, 2005 at 05:59:12PM -0500, Tom Lane wrote:
> Albert Chin <[EMAIL PROTECTED]> 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 ([EMAIL PROTECTED])
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend