"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> Description: fe-misc.c has an ifdef for HAVE_POLL, should be HAVE_POLL_H
That's entirely wrong. The configure code sets up two configuration
symbols: HAVE_POLL_H indicates whether the header <poll.h> exists,
while HAVE_POLL indicates whether the library function poll() is
available. The code in fe-misc.c is correct (in each place it uses
these symbols). If HAVE_POLL isn't getting set by configure, then
that's a bug and you should look into the reason why.
FWIW, this code does compile on OS X 10.2.* and 10.3, so if it fails in
10.3.1 then it's because of something Apple changed recently.
regards, tom lane