Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group