Re: [COMMITTERS] pgsql: Add include needed for new getrusage() call.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add include needed for new getrusage() call.
Date: 2006-10-08 18:33:52
Message-ID: 26227.1160332432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> For me, 'struct timeval' is coming in via #include "libpq/libpq.h", but
> of course that is _after_ the inclusion of resource.h.

Ah, that explains it.

> Not sure where
> you see that sys/resource.h was always there. Looking at the CVS diffs
> I see it added only in the past day.

It was further down before.

There's still something pretty strange here, though, because AFAICS
configure should have rejected sys/resource.h if it needs sys/time.h.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-10-08 19:18:29 Re: pgsql: In release notes, mention that
Previous Message Jaime Casanova 2006-10-08 18:26:14 Re: pgsql: In release notes, mention that multi-line history saving does not

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Campbell 2006-10-08 18:43:28 Re: [PATCHES] Use non-deprecated APIs for dynloader/darwin.c
Previous Message Tom Lane 2006-10-08 18:29:25 Re: Use non-deprecated APIs for dynloader/darwin.c