On Fri, 26 Sep 2003, Peter Eisentraut wrote:
> Stephan Szabo writes:
>
> > Configure doesn't find struct addrinfo (because it's in a __USE_POSIX
> > block) so it looks like we use our own version, but, when we're actually
> > then compiling getaddrinfo.c, there's a redefinition error because this
> > time struct addrinfo is found (because _GNU_SOURCE forces __USE_POSIX).
>
> What exact system is this on? I've compiled PG on a number of Linux
> systems since struct addrinfo started to appear, and I've never had a
> problem. Neither have others.
It's not a problem for me unless I'm compiling with CFLAGS="-std=c89".