Tom Lane wrote:
> There's still something pretty strange here, though, because AFAICS
> configure should have rejected sys/resource.h if it needs sys/time.h.
I think it only gives you a warning.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
---(end of broa
Bruce Momjian <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED] (Bruce Momjian) writes:
> Add include needed for new getrusage() call.
If that's actually needed, how did the code build before? It's always
included sys/resource.h, except possibly on machines without getrusage
... are there any? I was thinking rusagestub was dead code, myself