On Thu, 11 Aug 2005 00:15:06 +0200 David Elze <[EMAIL PROTECTED]> wrote:
> Hi, > > while trying to compile the new nagios-2.0b4 after a successful > configure I get the following error (OpenBSD 3.7, sparc64): > > /usr/include/sys/resource.h:56: error: field `ru_utime' has incomplete > type > /usr/include/sys/resource.h:57: error: field `ru_stime' has incomplete > type > > The only header-file that has these fields is resource.h and there is a > 'struct timeval ru_utime' and 'struct timeval ru_stime' respectively. > > Is there a simple solution and I'm just too stupid or is something wrong > with resource.h? getrusage(2) says you need sys/time.h as well.